Package opennlp.tools.postag
Schnittstelle TagDictionary
- Alle bekannten Unterschnittstellen:
MutableTagDictionary
- Alle bekannten Implementierungsklassen:
POSDictionary
public interface TagDictionary
Interface to determine which tags are valid for a particular word
based on a tag dictionary.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungString[]
Retrieves a list of valid tags for the specifiedword
.boolean
Whether the dictionary is case-sensitive or not.
-
Methodendetails
-
getTags
Retrieves a list of valid tags for the specifiedword
.- Parameter:
word
- The word.- Gibt zurück:
- An array of valid tags for the specified
word
ornull
if no information is available for that word.
-
isCaseSensitive
boolean isCaseSensitive()Whether the dictionary is case-sensitive or not.- Gibt zurück:
true
if the dictionary is case-sensitive, elsefalse
.
-