Package org.languagetool.rules.en
Class EnglishForSpaniardsFalseFriendRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.ngrams.ConfusionProbabilityRule
org.languagetool.rules.en.EnglishForL2SpeakersFalseFriendRule
org.languagetool.rules.en.EnglishForSpaniardsFalseFriendRule
False friends for Spanish native speakers who write English text, based on ngrams.
- Since:
- 5.1
-
Field Summary
Fields inherited from class org.languagetool.rules.ngrams.ConfusionProbabilityRule
MIN_COVERAGE, RULE_ID -
Constructor Summary
ConstructorsConstructorDescriptionEnglishForSpaniardsFalseFriendRule(ResourceBundle messages, LanguageModel languageModel, Language motherTongue, Language language) -
Method Summary
Methods inherited from class org.languagetool.rules.en.EnglishForL2SpeakersFalseFriendRule
getMessageMethods inherited from class org.languagetool.rules.ngrams.ConfusionProbabilityRule
estimateContextForSureMatch, getAntiPatterns, getDescription, getNGrams, isCommonWord, isException, match, setConfusionPairMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isIncludedInErrorsCorrectedAllAtOnce, isIncludedInHiddenMatches, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncludedInHiddenMatches, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setPriority, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useDictionaryBasedFilterForMatches, useInOffice
-
Constructor Details
-
EnglishForSpaniardsFalseFriendRule
public EnglishForSpaniardsFalseFriendRule(ResourceBundle messages, LanguageModel languageModel, Language motherTongue, Language language)
-
-
Method Details
-
getId
- Overrides:
getIdin classConfusionProbabilityRule
-
getFilenames
- Overrides:
getFilenamesin classConfusionProbabilityRule
-