|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJet.Lex.LexicalEntry
the basic element of the (internal) lexicon: the set of definitions of a word or sequence of words.
| Constructor Summary | |
LexicalEntry(java.lang.String[] wds,
FeatureSet fs)
creates a lexical entry for the sequence of words wds and makes fs one definition of this sequence. |
|
| Method Summary | |
void |
addDefinition(FeatureSet fs)
adds fs as an additional definition for this lexical entry |
FeatureSet[] |
getDefinition()
returns the definitions for the lexical entry |
int |
matches(Document doc,
int posn)
determines whether the lexical entry matches the tokens in Document doc, starting at position posn. |
boolean |
matches(java.lang.String[] wds)
determines whether the lexical entry matches the sequence of tokens wds. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LexicalEntry(java.lang.String[] wds,
FeatureSet fs)
| Method Detail |
public void addDefinition(FeatureSet fs)
public FeatureSet[] getDefinition()
public boolean matches(java.lang.String[] wds)
public int matches(Document doc,
int posn)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||