public interface Disambiguator
The POS tagger might assign multiple tags to the token. The goal is to filter out the incorrect tags and leave ideally only one per token.
| Modifier and Type | Method and Description |
|---|---|
AnalyzedSentence |
disambiguate(AnalyzedSentence input)
If possible, filters out the wrong POS tags.
|
AnalyzedSentence disambiguate(AnalyzedSentence input) throws IOException
input - The sentence with already tagged words. The words are expected to
have multiple tags.IOExceptionCopyright © 2005-2011 Daniel Naber