public class ParonymChecker extends AbstractChecker
| Constructor and Description |
|---|
ParonymChecker(Analyzer analyzer) |
| Modifier and Type | Method and Description |
|---|---|
List<Mistake> |
check(Sentence sentence)
Check the sentence for errors.
|
String |
getIdPrefix()
Each checker should have IDs with a fixed prefix so CheckerComposite can
route the ignore message to the correct checker.
|
int |
getPriority()
Priority of this checker.
|
add, getRuleDefinition, getRulesDefinition, ignore, resetIgnoredequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRulesDefinition, ignore, resetIgnoredpublic ParonymChecker(Analyzer analyzer)
public String getIdPrefix()
GenericCheckerpublic int getPriority()
GenericCheckerpublic List<Mistake> check(Sentence sentence)
GenericCheckersentence - the sentenceCopyright © 2012–2017 CoGrOO. All rights reserved.