|
||||||||||
| 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 TokenLists. This makes it possible
to check if a certain Token is contained in at least one of the
TokenLists.
| Constructor Summary | |
|---|---|
Index(java.util.Iterator tokenLists)
Initializes the current instance with the given TokenList Iterator. |
|
| Method Summary | |
|---|---|
boolean |
contains(Token token)
Checks if at leat one TokenList contains the
given Token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Index(java.util.Iterator tokenLists)
TokenList Iterator.
tokenLists - | Method Detail |
|---|
public boolean contains(Token token)
TokenList 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 | |||||||||