|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Lexicon | +--DatabaseLexicon
This class reads the word list file and sticks all the words in a hashtable. Then it spits out a prolog database of all the prolog info used in semantics. Unlike Lexicon, it can be run as main. It deals with morphology and stuff.
Field Summary |
Fields inherited from class Lexicon |
table |
Constructor Summary | |
DatabaseLexicon(java.lang.String fileName)
Create a lexicon by reading in a file. |
Method Summary | |
static void |
main(java.lang.String[] args)
Run the program. |
Methods inherited from class Lexicon |
getConstituents, readFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DatabaseLexicon(java.lang.String fileName)
fileName
- the name of the initial lexicon file.
java.lang.RuntimeException
- for file errors.Method Detail |
public static void main(java.lang.String[] args)
args
- lex files, target.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |