Package opennlp.tools.postag
Interface TagDictionary
- All Known Subinterfaces:
- MutableTagDictionary
- All Known Implementing Classes:
- POSDictionary
public interface TagDictionary
Interface to determine which tags are valid for a particular word
 based on a tag dictionary.
- 
Method SummaryModifier and TypeMethodDescriptionString[]Retrieves a list of valid tags for the specifiedword.booleanWhether the dictionary is case-sensitive or not.
- 
Method Details- 
getTagsRetrieves a list of valid tags for the specifiedword.- Parameters:
- word- The word.
- Returns:
- An array of valid tags for the specified wordornullif no information is available for that word.
 
- 
isCaseSensitiveboolean isCaseSensitive()Whether the dictionary is case-sensitive or not.- Returns:
- trueif the dictionary is case-sensitive, else- false.
 
 
-