public String readNextWord(){
  if (tokenizer.hasMoreTokens()) {
    return tokenizer.nextToken();
  }
 else {
    return null;
  }
}

public String readNextWord ( ) { if ( tokenizer . hasMoreTokens ( ) ) { return tokenizer . nextToken ( ) ; } else { return null ; } }
read the next word from the parsed sentence .
