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
StringLists.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanChecks if at least oneStringListcontains the specifiedtoken.
-
Konstruktordetails
-
Index
- Parameter:
tokenLists- The iterableStringListelements.
-
-
Methodendetails
-
contains
Checks if at least oneStringListcontains the specifiedtoken.- Parameter:
token- The element to check for.- Gibt zurück:
trueif the token is contained,falseotherwise.
-