public class SpaceChecker extends AbstractTypedChecker
| Constructor and Description |
|---|
SpaceChecker(opennlp.tools.dictionary.Dictionary dic) |
| 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 String getIdPrefix()
GenericCheckerpublic List<Mistake> check(Sentence sentence)
GenericCheckersentence - the sentencepublic int getPriority()
GenericCheckerCopyright © 2012–2017 CoGrOO. All rights reserved.