Class PortugueseAccentuationCheckRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.pt.PortugueseAccentuationCheckRule
public class PortugueseAccentuationCheckRule
extends org.languagetool.rules.Rule
This rule checks if a word without graphical accent and with a verb POS tag
should be a noun or an adjective with graphical accent. It uses two lists of
word pairs: verb-noun and verb-adjective.
- Author:
- Jaume OrtolĂ i Font l18n by Tiago F. Santos TODO Verify all exceptions that apply to Portuguese FIXME Convert all chunking tags to the ones used in Portuguese
-
Field Summary
Fields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
Constructor Details
-
PortugueseAccentuationCheckRule
- Throws:
IOException
-
-
Method Details
-
getId
- Specified by:
getIdin classorg.languagetool.rules.Rule
-
getDescription
- Specified by:
getDescriptionin classorg.languagetool.rules.Rule
-
match
public org.languagetool.rules.RuleMatch[] match(org.languagetool.AnalyzedSentence sentence) - Specified by:
matchin classorg.languagetool.rules.Rule
-