Class KhmerSimpleReplaceRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSimpleReplaceRule2
org.languagetool.rules.km.KhmerSimpleReplaceRule
public class KhmerSimpleReplaceRule
extends org.languagetool.rules.AbstractSimpleReplaceRule2
A rule that matches words which should not be used and suggests correct ones instead.
Khmer implementations. Loads the list of words from
/km/coherency.txt.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringstatic final Stringprivate static final LocaleFields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractSimpleReplaceRule2
getWrongWords, isCaseSensitive, isException, matchMethods inherited from class org.languagetool.rules.Rule
addExamplePair, estimateContextForSureMatch, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
KHMER_SIMPLE_REPLACE_RULE
- See Also:
-
FILE_NAME
- See Also:
-
KM_LOCALE
-
-
Constructor Details
-
KhmerSimpleReplaceRule
- Throws:
IOException
-
-
Method Details
-
getFileName
- Specified by:
getFileNamein classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getId
- Specified by:
getIdin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getDescription
- Specified by:
getDescriptionin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getShort
- Specified by:
getShortin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getSuggestion
- Specified by:
getSuggestionin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getSuggestionsSeparator
- Specified by:
getSuggestionsSeparatorin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getLocale
- Specified by:
getLocalein classorg.languagetool.rules.AbstractSimpleReplaceRule2
-