public interface Validation
Modifier and Type | Method and Description |
---|---|
boolean |
validate(String coveredText,
String ruleID)
The validate method validates the covered text of an annotator and returns true or
false whether the annotation is correct or not.
|
boolean validate(String coveredText, String ruleID) throws Exception
coveredText
- covered text of the annotation that should be validatedruleID
- ruleID of the rule which created the matchException
- throws an exception if an validation error occurredCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.