|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopennlp.tools.dictionary.Index
public class Index
This classes indexes StringLists. This makes it possible
to check if a certain Token is contained in at least one of the
StringLists.
| Constructor Summary | |
|---|---|
Index(java.util.Iterator<StringList> tokenLists)
Initializes the current instance with the given StringList Iterator. |
|
| Method Summary | |
|---|---|
boolean |
contains(java.lang.String token)
Checks if at leat one StringList contains the
given Token. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Index(java.util.Iterator<StringList> tokenLists)
StringList Iterator.
tokenLists - | Method Detail |
|---|
public boolean contains(java.lang.String token)
StringList contains the
given Token.
token -
Token is contained otherwise false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||