Uses of Class
org.languagetool.AnalyzedToken
Packages that use AnalyzedToken
Package
Description
-
Uses of AnalyzedToken in org.languagetool
Fields in org.languagetool declared as AnalyzedTokenMethods in org.languagetool that return AnalyzedTokenModifier and TypeMethodDescriptionAnalyzedTokenReadings.getAnalyzedToken
(int idx) Get a token reading.Methods in org.languagetool that return types with arguments of type AnalyzedTokenModifier and TypeMethodDescriptionAnalyzedTokenReadings.getReadings()
AnalyzedTokenReadings.iterator()
Methods in org.languagetool with parameters of type AnalyzedTokenModifier and TypeMethodDescriptionvoid
AnalyzedTokenReadings.addReading
(AnalyzedToken token, String ruleApplied) Add a new reading.void
AnalyzedTokenReadings.leaveReading
(AnalyzedToken token) Removes all readings but the one that matches the token given.boolean
AnalyzedToken.matches
(AnalyzedToken an) void
AnalyzedTokenReadings.removeReading
(AnalyzedToken token, String ruleApplied) Removes a reading from the list of readings.Constructors in org.languagetool with parameters of type AnalyzedTokenModifierConstructorDescription(package private)
AnalyzedTokenReadings
(AnalyzedToken[] tokens, int startPos) AnalyzedTokenReadings
(AnalyzedToken token, int startPos) Constructor parameters in org.languagetool with type arguments of type AnalyzedTokenModifierConstructorDescriptionAnalyzedTokenReadings
(List<AnalyzedToken> tokens, int startPos) AnalyzedTokenReadings
(AnalyzedTokenReadings oldAtr, List<AnalyzedToken> newReadings, String ruleApplied) -
Uses of AnalyzedToken in org.languagetool.rules.ngrams
Fields in org.languagetool.rules.ngrams with type parameters of type AnalyzedTokenMethods in org.languagetool.rules.ngrams that return types with arguments of type AnalyzedTokenModifier and TypeMethodDescriptionprivate static Set<AnalyzedToken>
GoogleToken.findOriginalAnalyzedTokens
(AnalyzedSentence sentence, int startPos, int endPos) private Optional<AnalyzedToken>
NgramProbabilityRule.getByPosTag
(Set<AnalyzedToken> tokens, String wantedPosTagRegex) (package private) Set<AnalyzedToken>
GoogleToken.getPosTags()
Method parameters in org.languagetool.rules.ngrams with type arguments of type AnalyzedTokenModifier and TypeMethodDescriptionprivate Optional<AnalyzedToken>
NgramProbabilityRule.getByPosTag
(Set<AnalyzedToken> tokens, String wantedPosTagRegex) Constructor parameters in org.languagetool.rules.ngrams with type arguments of type AnalyzedTokenModifierConstructorDescription(package private)
GoogleToken
(String token, int startPos, int endPos, Set<AnalyzedToken> posTags) -
Uses of AnalyzedToken in org.languagetool.rules.patterns
Methods in org.languagetool.rules.patterns that return types with arguments of type AnalyzedTokenModifier and TypeMethodDescriptionprivate List<AnalyzedToken>
MatchState.getNewToken
(int numRead, String token) Methods in org.languagetool.rules.patterns with parameters of type AnalyzedTokenModifier and TypeMethodDescriptionfinal void
PatternTokenMatcher.addMemberAndGroup
(AnalyzedToken token) Enables testing multiple conditions specified by different elements.private void
Unifier.addTokenToSequence
(List<AnalyzedTokenReadings> tokenSequence, AnalyzedToken token, int pos) private boolean
private String
PatternToken.getTestToken
(AnalyzedToken token) boolean
PatternToken.isAndExceptionGroupMatched
(AnalyzedToken token) Enables testing multiple conditions specified by multiple element exceptions.boolean
PatternToken.isExceptionMatched
(AnalyzedToken token) Checks whether an exception matches.boolean
PatternToken.isExceptionMatchedCompletely
(AnalyzedToken token) This method checks exceptions both in AND-group and the token.final boolean
PatternTokenMatcher.isExceptionMatchedCompletely
(AnalyzedToken token) boolean
PatternToken.isMatched
(AnalyzedToken token) Checks whether the rule element matches the token given as a parameter.final boolean
PatternTokenMatcher.isMatched
(AnalyzedToken token) Checks whether the rule element matches the token given as a parameter.boolean
PatternToken.isMatchedByPreviousException
(AnalyzedToken token) Checks whether an exception for a previous token matches (in case the exception had scope == "previous").boolean
PatternToken.isMatchedByScopeNextException
(AnalyzedToken token) Checks whether a previously set exception matches (in case the exception had scope == "next").final boolean
PatternTokenMatcher.isMatchedByScopeNextException
(AnalyzedToken token) private boolean
PatternToken.isPosTokenMatched
(AnalyzedToken token) Tests if part of speech matches a given string.protected final boolean
Unifier.isSatisfied
(AnalyzedToken aToken, Map<String, List<String>> uFeatures) Tests if a token has shared features with other tokens.private boolean
PatternToken.isStringTokenMatched
(AnalyzedToken token) Tests whether the string token element matches a given token.final boolean
Unifier.isUnified
(AnalyzedToken matchToken, Map<String, List<String>> uFeatures, boolean lastReading) final boolean
Unifier.isUnified
(AnalyzedToken matchToken, Map<String, List<String>> uFeatures, boolean lastReading, boolean isMatched) Tests if the token sequence is unified.boolean
PatternToken.isWhitespaceBefore
(AnalyzedToken token) protected boolean
AbstractPatternRulePerformer.testUnificationAndGroups
(boolean matched, boolean lastReading, AnalyzedToken matchToken, PatternTokenMatcher elemMatcher, boolean alreadyTested) -
Uses of AnalyzedToken in org.languagetool.synthesis
Methods in org.languagetool.synthesis with parameters of type AnalyzedTokenModifier and TypeMethodDescriptionString[]
BaseSynthesizer.synthesize
(AnalyzedToken token, String posTag) Get a form of a given AnalyzedToken, where the form is defined by a part-of-speech tag.String[]
BaseSynthesizer.synthesize
(AnalyzedToken token, String posTag, boolean posTagRegExp) String[]
Synthesizer.synthesize
(AnalyzedToken token, String posTag) Generates a form of the word with a given POS tag for a given lemma.String[]
Synthesizer.synthesize
(AnalyzedToken token, String posTag, boolean posTagRegExp) Generates a form of the word with a given POS tag for a given lemma. -
Uses of AnalyzedToken in org.languagetool.tagging
Methods in org.languagetool.tagging that return AnalyzedTokenModifier and TypeMethodDescriptionprotected AnalyzedToken
BaseTagger.asAnalyzedToken
(String word, morfologik.stemming.WordData wd) private AnalyzedToken
BaseTagger.asAnalyzedToken
(String word, TaggedWord taggedWord) BaseTagger.createToken
(String token, String posTag) Tagger.createToken
(String token, String posTag) Create a token specific to the language of the implementing class.Methods in org.languagetool.tagging that return types with arguments of type AnalyzedTokenModifier and TypeMethodDescriptionprotected @Nullable List<AnalyzedToken>
BaseTagger.additionalTags
(String word, WordTagger wordTagger) Allows additional tagging in some language-dependent circumstancesprotected List<AnalyzedToken>
BaseTagger.asAnalyzedTokenList
(String word, List<morfologik.stemming.WordData> wdList) protected List<AnalyzedToken>
BaseTagger.asAnalyzedTokenListForTaggedWords
(String word, List<TaggedWord> taggedWords) protected List<AnalyzedToken>
BaseTagger.getAnalyzedTokens
(String word) Method parameters in org.languagetool.tagging with type arguments of type AnalyzedTokenModifier and TypeMethodDescriptionprivate void
BaseTagger.addTokens
(List<AnalyzedToken> taggedTokens, List<AnalyzedToken> l) -
Uses of AnalyzedToken in org.languagetool.tagging.disambiguation
Methods in org.languagetool.tagging.disambiguation with parameters of type AnalyzedTokenModifier and TypeMethodDescriptionprivate AnalyzedTokenReadings
MultiWordChunker.setAndAnnotate
(AnalyzedTokenReadings oldReading, AnalyzedToken newReading) private AnalyzedTokenReadings
MultiWordChunker2.setAndAnnotate
(AnalyzedTokenReadings oldReading, AnalyzedToken newReading) -
Uses of AnalyzedToken in org.languagetool.tagging.disambiguation.rules
Fields in org.languagetool.tagging.disambiguation.rules declared as AnalyzedTokenModifier and TypeFieldDescriptionprivate AnalyzedToken[]
DisambiguationPatternRule.newTokenReadings
Fields in org.languagetool.tagging.disambiguation.rules with type parameters of type AnalyzedTokenMethods in org.languagetool.tagging.disambiguation.rules that return AnalyzedTokenMethods in org.languagetool.tagging.disambiguation.rules with parameters of type AnalyzedTokenModifier and TypeMethodDescriptionfinal void
DisambiguationPatternRule.setNewInterpretations
(AnalyzedToken[] newReadings) Used to add new interpretations. -
Uses of AnalyzedToken in org.languagetool.tagging.xx
Methods in org.languagetool.tagging.xx that return AnalyzedToken