|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.annotator.dict_annot.dictionary.impl.DictionaryEntry
public class DictionaryEntry
The DictionaryEntry contains the entry meta data object and the information if an entry is complete or just a part of a multi-word entry. If the entry is part of a multi-word entry it also contains the branch of multi-word tokens that are followed by the current entry.
Constructor Summary | |
---|---|
DictionaryEntry(boolean isComplete,
EntryMetaData metaData)
Creates a new DictionaryEntry object |
Method Summary | |
---|---|
EntryMetaData |
getEntryMetaData()
Returns the current entry meta data object. |
java.util.HashMap<java.lang.String,DictionaryEntry> |
getSubBranch()
Returns the sub branch for a dictionary entry. |
boolean |
isComplete()
Returns for the current entry if it is complete or not. |
void |
setComplete()
marks the current entry as a valid entry |
void |
setEntryMetaData(EntryMetaData metaData)
Sets the metaData for this entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DictionaryEntry(boolean isComplete, EntryMetaData metaData)
isComplete
- should be true if the current entry is complete. An entry is
complete if it is a single word or the last token of a multi
word entrymetaData
- meta data for the current entryMethod Detail |
---|
public java.util.HashMap<java.lang.String,DictionaryEntry> getSubBranch()
public boolean isComplete()
public void setComplete()
public EntryMetaData getEntryMetaData()
public void setEntryMetaData(EntryMetaData metaData)
metaData
- entry meta data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |