question: protected void parseAndAdd ( Map lexicon , String line ) { StringTokenizer tokenizer = new StringTokenizer ( line , "\t" ) ; String phones = null ; String wordAndPos = tokenizer . nextToken ( ) ; String pos = wordAndPos . substring ( wordAndPos . length ( ) - 1 ) ; if ( ! partsOfSpeech . contains ( pos ) ) { partsOfSpeech . add ( pos ) ; } if ( tokenizer . hasMoreTokens ( ) ) { phones = tokenizer . nextToken ( ) ; } if ( ( phones != null ) && ( tokenizeOnLoad ) ) { lexicon . put ( wordAndPos , getPhones ( phones ) ) ; } else if ( phones == null ) { lexicon . put ( wordAndPos , NO_PHONES ) ; } else { lexicon . put ( wordAndPos , phones ) ; } }
target:  Creates a word from the given input line and add it to the lexicon.