Uses of Class
org.languagetool.AnalyzedToken
Packages that use AnalyzedToken
Package
Description
-
Uses of AnalyzedToken in org.languagetool
Methods 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 TypeMethodDescriptionvoidAnalyzedTokenReadings.addReading(AnalyzedToken token, String ruleApplied) Add a new reading.voidAnalyzedTokenReadings.leaveReading(AnalyzedToken token) Removes all readings but the one that matches the token given.booleanAnalyzedToken.matches(AnalyzedToken an) voidAnalyzedTokenReadings.removeReading(AnalyzedToken token, String ruleApplied) Removes a reading from the list of readings.Constructors in org.languagetool with parameters of type AnalyzedTokenModifierConstructorDescriptionAnalyzedTokenReadings(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.patterns
Methods in org.languagetool.rules.patterns with parameters of type AnalyzedTokenModifier and TypeMethodDescriptionfinal voidPatternTokenMatcher.addMemberAndGroup(AnalyzedToken token) Enables testing multiple conditions specified by different elements.booleanPatternToken.isAndExceptionGroupMatched(AnalyzedToken token) Enables testing multiple conditions specified by multiple element exceptions.booleanPatternToken.isExceptionMatched(AnalyzedToken token) Checks whether an exception matches.booleanPatternToken.isExceptionMatchedCompletely(AnalyzedToken token) This method checks exceptions both in AND-group and the token.final booleanPatternTokenMatcher.isExceptionMatchedCompletely(AnalyzedToken token) booleanPatternToken.isMatched(AnalyzedToken token) Checks whether the rule element matches the token given as a parameter.final booleanPatternTokenMatcher.isMatched(AnalyzedToken token) Checks whether the rule element matches the token given as a parameter.booleanPatternToken.isMatchedByPreviousException(AnalyzedToken token) Checks whether an exception for a previous token matches (in case the exception had scope == "previous").booleanPatternToken.isMatchedByScopeNextException(AnalyzedToken token) Checks whether a previously set exception matches (in case the exception had scope == "next").final booleanPatternTokenMatcher.isMatchedByScopeNextException(AnalyzedToken token) protected final booleanUnifier.isSatisfied(AnalyzedToken aToken, Map<String, List<String>> uFeatures) Tests if a token has shared features with other tokens.final booleanUnifier.isUnified(AnalyzedToken matchToken, Map<String, List<String>> uFeatures, boolean lastReading) final booleanUnifier.isUnified(AnalyzedToken matchToken, Map<String, List<String>> uFeatures, boolean lastReading, boolean isMatched) Tests if the token sequence is unified.booleanPatternToken.isWhitespaceBefore(AnalyzedToken token) protected booleanAbstractPatternRulePerformer.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 AnalyzedTokenBaseTagger.asAnalyzedToken(String word, morfologik.stemming.WordData wd) 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) -
Uses of AnalyzedToken in org.languagetool.tagging.disambiguation.rules
Methods in org.languagetool.tagging.disambiguation.rules that return AnalyzedTokenMethods in org.languagetool.tagging.disambiguation.rules with parameters of type AnalyzedTokenModifier and TypeMethodDescriptionfinal voidDisambiguationPatternRule.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