public class BigramHybridTagger extends BigramTagger implements PartOfSpeechTagger
This bigram 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 bigram tagger has assigned the initial set of tags.
beamSearchRejections, contextualProbabilities, debug, viterbicontextRules, contextualSmoother, dynamicLexicon, lexicalRules, lexicalSmoother, lexicon, logger, partOfSpeechGuesser, postTokenizer, retagger, ruleCorrections, transitionMatrix| Constructor and Description |
|---|
BigramHybridTagger()
Create a bigram hybrid tagger.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Return tagger description.
|
boolean |
usesContextRules()
See if tagger uses contextual rules.
|
processWord, setLogger, tagAdornedWordList, 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, tagAdornedWordSentences, 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 BigramTagger