|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.utils.IsCloseableObject
edu.northwestern.at.utils.corpuslinguistics.postagger.AbstractPartOfSpeechTagger
edu.northwestern.at.utils.corpuslinguistics.postagger.unigram.UnigramTagger
edu.northwestern.at.utils.corpuslinguistics.postagger.iretagger.IRetagger
public class IRetagger
"I" retagger.
This retagger applies a short list of rules to improve tagging of "I" spellings.
| Field Summary | |
|---|---|
protected static PartOfSpeechTags |
posTags
Part of speech tags. |
| Fields inherited from class edu.northwestern.at.utils.corpuslinguistics.postagger.AbstractPartOfSpeechTagger |
|---|
contextRules, contextualSmoother, dynamicLexicon, lexicalRules, lexicalSmoother, lexicon, logger, partOfSpeechGuesser, postTokenizer, retagger, ruleCorrections, transitionMatrix |
| Constructor Summary | |
|---|---|
IRetagger()
Create proper noun retagger. |
|
| Method Summary | ||
|---|---|---|
boolean |
canAddOrDeleteWords()
Can retagger add or delete words in the original sentence? |
|
|
retagSentence(java.util.List<T> sentence)
Retag a sentence. |
|
java.lang.String |
toString()
Return retagger description. |
|
| Methods inherited from class edu.northwestern.at.utils.corpuslinguistics.postagger.unigram.UnigramTagger |
|---|
tagAdornedWordList, tagWord, tagWord |
| Methods inherited from class edu.northwestern.at.utils.corpuslinguistics.postagger.AbstractPartOfSpeechTagger |
|---|
clearRuleCorrections, createPartOfSpeechGuesser, getDynamicLexicon, getLexicon, getLexicon, getLogger, getMostCommonTag, getPartOfSpeechGuesser, getRetagger, getRuleCorrections, getTagCount, getTagsForWord, getTransitionMatrix, incrementRuleCorrections, retagWords, setContextRules, setLexicalRules, setLexicon, setLogger, setPartOfSpeechGuesser, setRetagger, setTransitionMatrix, tagAdornedWordSentence, tagAdornedWordSentences, tagSentence, tagSentences, usesContextRules, usesLexicalRules, usesTransitionProbabilities |
| Methods inherited from class edu.northwestern.at.utils.IsCloseableObject |
|---|
close |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.northwestern.at.utils.corpuslinguistics.postagger.PartOfSpeechTagger |
|---|
clearRuleCorrections, getLexicon, getLexicon, getPartOfSpeechGuesser, getRetagger, getRuleCorrections, getTagCount, getTagsForWord, getTransitionMatrix, incrementRuleCorrections, retagWords, setContextRules, setLexicalRules, setLexicon, setPartOfSpeechGuesser, setRetagger, setTransitionMatrix, tagAdornedWordList, tagAdornedWordSentence, tagAdornedWordSentences, tagSentence, tagSentences, usesContextRules, usesLexicalRules, usesTransitionProbabilities |
| Methods inherited from interface edu.northwestern.at.utils.IsCloseable |
|---|
close |
| Field Detail |
|---|
protected static PartOfSpeechTags posTags
| Constructor Detail |
|---|
public IRetagger()
| Method Detail |
|---|
public <T extends AdornedWord> java.util.List<T> retagSentence(java.util.List<T> sentence)
retagSentence in interface PartOfSpeechRetaggersentence - The sentence as an
AdornedWord .
public boolean canAddOrDeleteWords()
canAddOrDeleteWords in interface PartOfSpeechRetaggerpublic java.lang.String toString()
toString in class UnigramTagger
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||