|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object opennlp.tools.dictionary.serializer.Entry
public class Entry
An Entry
is a StringList
which can
optionally be mapped to attributes.
Entry
s is a read and written by the DictionarySerializer
.
DictionarySerializer
,
Attributes
Constructor Summary | |
---|---|
Entry(StringList tokens,
Attributes attributes)
Initializes the current instance. |
Method Summary | |
---|---|
Attributes |
getAttributes()
Retrieves the Attributes . |
StringList |
getTokens()
Retrieves the Token s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Entry(StringList tokens, Attributes attributes)
tokens
- attributes
- Method Detail |
---|
public StringList getTokens()
Token
s.
Token
spublic Attributes getAttributes()
Attributes
.
Attributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |