public class EnglishLex extends Object
| Constructor and Description |
|---|
EnglishLex() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
nounPlural(String[] words) |
static void |
readLexicon(String fileName)
reads the English lexicon entries from file
fileName,
expands them (generating inflectional variants), and adds
them to the dictionary. |
public static void readLexicon(String fileName) throws IOException
fileName,
expands them (generating inflectional variants), and adds
them to the dictionary.IOExceptionCopyright © 2016 New York University. All rights reserved.