Package org.languagetool.rules.gl
Class GalicianBarbarismsRule
- java.lang.Object
-
- org.languagetool.rules.Rule
-
- org.languagetool.rules.AbstractSimpleReplaceRule2
-
- org.languagetool.rules.gl.GalicianBarbarismsRule
-
public class GalicianBarbarismsRule extends org.languagetool.rules.AbstractSimpleReplaceRule2A rule that matches words which should not be used and suggests correct ones instead. Romanian implementations. Loads the list of words from/ro/replace.txt.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringFILE_NAMEstatic java.lang.StringGALICIAN_BARBARISM_RULEprivate static java.util.LocaleGL_LOCALE
-
Constructor Summary
Constructors Constructor Description GalicianBarbarismsRule(java.util.ResourceBundle messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetFileName()java.lang.StringgetId()java.util.LocalegetLocale()java.lang.StringgetShort()java.lang.StringgetSuggestion()java.lang.StringgetSuggestionsSeparator()java.net.URLgetUrl()-
Methods inherited from class org.languagetool.rules.AbstractSimpleReplaceRule2
getWrongWords, isCaseSensitive, isException, match
-
Methods inherited from class org.languagetool.rules.Rule
addExamplePair, estimateContextForSureMatch, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
-
-
-
Field Detail
-
GALICIAN_BARBARISM_RULE
public static final java.lang.String GALICIAN_BARBARISM_RULE
- See Also:
- Constant Field Values
-
FILE_NAME
private static final java.lang.String FILE_NAME
- See Also:
- Constant Field Values
-
GL_LOCALE
private static final java.util.Locale GL_LOCALE
-
-
Method Detail
-
getFileName
public final java.lang.String getFileName()
- Specified by:
getFileNamein classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getId
public final java.lang.String getId()
- Specified by:
getIdin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getShort
public java.lang.String getShort()
- Specified by:
getShortin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getSuggestion
public java.lang.String getSuggestion()
- Specified by:
getSuggestionin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getSuggestionsSeparator
public java.lang.String getSuggestionsSeparator()
- Specified by:
getSuggestionsSeparatorin classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getUrl
public java.net.URL getUrl()
- Overrides:
getUrlin classorg.languagetool.rules.Rule
-
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocalein classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
-