Class Entry
java.lang.Object
opennlp.tools.dictionary.serializer.Entry
An
Entry is a StringList which can
optionally be mapped to attributes.
Entrys is a read and written by the DictionaryEntryPersistor.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntry(StringList tokens, Attributes attributes) Initializes the current instance. -
Method Summary
-
Constructor Details
-
Entry
Initializes the current instance.- Parameters:
tokens-attributes-
-
-
Method Details
-
getTokens
Retrieves the tokens.- Returns:
- the tokens
-
getAttributes
Retrieves theAttributes.- Returns:
- the
Attributes
-