public class EnglishPartialPosTagFilter extends PartialPosTagFilter
PartialPosTagFilter
for English that also runs the disambiguator. Note
that the disambiguator is called with a single token, so only rules
will apply that have a single <match>
element.
Warning: Do not use this in disambiguation.xml, it would cause an endless loop,
use NoDisambiguationEnglishPartialPosTagFilter
instead.NoDisambiguationEnglishPartialPosTagFilter
Constructor and Description |
---|
EnglishPartialPosTagFilter() |
Modifier and Type | Method and Description |
---|---|
protected List<AnalyzedTokenReadings> |
tag(String token) |
acceptRuleMatch
getOptional, getRequired, matches
protected List<AnalyzedTokenReadings> tag(String token)
tag
in class PartialPosTagFilter