public class TrigramHybridTagger extends TrigramTagger implements PartOfSpeechTagger
This trigram part of speech tagger assigns tags to words in a sentence assigning the most probable set of tags given the previous tag assignments. The Viterbi algorithm is used to reduce the amount of computation required to find the optimal tag assignments. The Hepple rule-based tagger is used to apply corrections to each sentence after the trigram tagger has assigned the initial set of tags.
beamSearchRejections, contextualProbabilities, debug, linesTagged, viterbi, wordsTaggedcontextRules, contextualSmoother, dynamicLexicon, lexicalRules, lexicalSmoother, lexicon, logger, partOfSpeechGuesser, postTokenizer, retagger, ruleCorrections, transitionMatrix| Constructor and Description |
|---|
TrigramHybridTagger()
Create a trigram hybrid tagger.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Return tagger description.
|
boolean |
usesContextRules()
See if tagger uses contextual rules.
|
processWord, reportEndOfTaggingStats, setLogger, tagAdornedWordList, tagAdornedWordSentences, tagSentences, usesTransitionProbabilitiesclearRuleCorrections, createPartOfSpeechGuesser, getContextualSmoother, getDynamicLexicon, getLexicalSmoother, getLexicon, getLexicon, getLogger, getMostCommonTag, getPartOfSpeechGuesser, getPostTokenizer, getRetagger, getRuleCorrections, getTagCount, getTagsForWord, getTransitionMatrix, incrementRuleCorrections, retagWords, setContextRules, setContextualSmoother, setLexicalRules, setLexicalSmoother, setLexicon, setPartOfSpeechGuesser, setPostTokenizer, setRetagger, setTransitionMatrix, tagAdornedWordSentence, tagSentence, usesLexicalRulescloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearRuleCorrections, getContextualSmoother, getLexicalSmoother, getLexicon, getLexicon, getPartOfSpeechGuesser, getPostTokenizer, getRetagger, getRuleCorrections, getTagCount, getTagsForWord, getTransitionMatrix, incrementRuleCorrections, retagWords, setContextRules, setContextualSmoother, setLexicalRules, setLexicalSmoother, setLexicon, setPartOfSpeechGuesser, setPostTokenizer, setRetagger, setTransitionMatrix, tagAdornedWordList, tagAdornedWordSentence, tagAdornedWordSentences, tagSentence, tagSentences, usesLexicalRules, usesTransitionProbabilitiesclosepublic boolean usesContextRules()
usesContextRules in interface PartOfSpeechTaggerusesContextRules in class AbstractPartOfSpeechTaggerpublic java.lang.String toString()
toString in class TrigramTagger