public class KhmerSimpleReplaceRule extends Rule
/km/coherency.txt.AbstractSimpleReplaceRule eventually and simply extend from AbstractSimpleReplaceRule.| Modifier and Type | Field and Description |
|---|---|
static String |
KHMER_SIMPLE_REPLACE_RULE |
| Constructor and Description |
|---|
KhmerSimpleReplaceRule(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()
use case-insensitive matching.
|
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 KHMER_SIMPLE_REPLACE_RULE
public KhmerSimpleReplaceRule(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)