Package org.languagetool.rules.uk
Class TokenAgreementNounVerbExceptionHelper
java.lang.Object
org.languagetool.rules.uk.TokenAgreementNounVerbExceptionHelper
- Since:
- 3.6
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String> private static final Patternprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static booleanhasMascFemLemma(List<AnalyzedToken> nounTokenReadings) static booleanisException(AnalyzedTokenReadings[] tokens, int nounPos, int verbPos, List<VerbInflectionHelper.Inflection> nounInflections, List<VerbInflectionHelper.Inflection> verbInflections, List<AnalyzedToken> nounTokenReadings, List<AnalyzedToken> verbTokenReadings) private static booleanisInMascFemSet(String lemma) (package private) static booleanisNonPluralA(AnalyzedTokenReadings[] tokens, int pos) private static void
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
MASC_FEM_SET
-
INF_ARGREEMENT_PATTERN
-
GEO_QUALIFIERS
-
-
Constructor Details
-
TokenAgreementNounVerbExceptionHelper
private TokenAgreementNounVerbExceptionHelper()
-
-
Method Details
-
isException
public static boolean isException(AnalyzedTokenReadings[] tokens, int nounPos, int verbPos, List<VerbInflectionHelper.Inflection> nounInflections, List<VerbInflectionHelper.Inflection> verbInflections, List<AnalyzedToken> nounTokenReadings, List<AnalyzedToken> verbTokenReadings) -
isNonPluralA
-
hasMascFemLemma
-
isInMascFemSet
-
extendSet
-
logException
private static void logException()
-