public class TopoReplaceRule extends Rule
rules/br/topo.txt.
This class is mostly copied from ro/SimplaceReplaceRules.java.| Modifier and Type | Field and Description |
|---|---|
static String |
BRETON_TOPO |
| Constructor and Description |
|---|
TopoReplaceRule(ResourceBundle messages) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getEncoding() |
String |
getFileName() |
String |
getId() |
Locale |
getLocale()
locale used on case-conversion
|
String |
getShort() |
String |
getSuggestion() |
String |
getSuggestionsSeparator() |
protected Tokenizer |
getWordTokenizer() |
List<Map<String,String>> |
getWrongWords() |
boolean |
isCaseSensitive() |
RuleMatch[] |
match(AnalyzedSentence sentence) |
void |
reset() |
addExamplePair, getCategory, getCorrectExamples, getIncorrectExamples, getLocQualityIssueType, getUrl, isDefaultOff, isDictionaryBasedSpellingRule, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setIncorrectExamples, setLocQualityIssueType, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final String BRETON_TOPO
public TopoReplaceRule(ResourceBundle messages) throws IOException
IOExceptionpublic final String getFileName()
public String getDescription()
getDescription in class Rulepublic String getShort()
public String getSuggestion()
public String getSuggestionsSeparator()
public boolean isCaseSensitive()
public Locale getLocale()
public String getEncoding()
protected Tokenizer getWordTokenizer()
public List<Map<String,String>> getWrongWords()
public RuleMatch[] match(AnalyzedSentence sentence)