Jet.Lex
Class EnglishLex

java.lang.Object
  extended byJet.Lex.EnglishLex

public class EnglishLex
extends java.lang.Object

EnglishLex contains all the methods for reading and interpreting a file of English lexical entries.


Constructor Summary
EnglishLex()
           
 
Method Summary
static java.lang.String[] nounPlural(java.lang.String[] words)
           
static void readLexicon(java.io.Reader reader)
          reads the English lexicon entries from source reader, expands them (generating inflectional variants), and adds them to the dictionary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnglishLex

public EnglishLex()
Method Detail

readLexicon

public static void readLexicon(java.io.Reader reader)
                        throws java.io.IOException
reads the English lexicon entries from source reader, expands them (generating inflectional variants), and adds them to the dictionary.

Throws:
java.io.IOException

nounPlural

public static java.lang.String[] nounPlural(java.lang.String[] words)