opennlp.tools.postag
Interface TagDictionary
- 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 Summary |
java.lang.String[] |
getTags(java.lang.String word)
Returns a list of valid tags for the specified word. |
getTags
java.lang.String[] getTags(java.lang.String word)
- Returns a list of valid tags for the specified word.
- Parameters:
word
- The word.
- Returns:
- A list of valid tags for the specified word or null if no information
is available for that word.
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.