Package opennlp.tools.dictionary
Klasse Index
java.lang.Object
opennlp.tools.dictionary.Index
This classes indexes
string lists
. This makes it possible
to check if a certain token is contained in at least one of the
StringList
s.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Checks if at least oneStringList
contains the specifiedtoken
.
-
Konstruktordetails
-
Index
- Parameter:
tokenLists
- The iterableStringList
elements.
-
-
Methodendetails
-
contains
Checks if at least oneStringList
contains the specifiedtoken
.- Parameter:
token
- The element to check for.- Gibt zurück:
true
if the token is contained,false
otherwise.
-