public class AnnotationRulesEngine extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationRulesEngine.AnnotationRuleCheckException
This exception is thrown when an exception occurs during the execution
of annotation rules.
|
static class |
AnnotationRulesEngine.AnnotationRulesEngineResult
Results for a run of the
AnnotationRulesEngine . |
Constructor and Description |
---|
AnnotationRulesEngine(AnnotationRulesFactory rulesFactory,
boolean createInferences,
boolean useExperimental) |
Modifier and Type | Method and Description |
---|---|
AnnotationRule |
getRule(String id)
Retrieve the corresponding rule for a given rule id.
|
AnnotationRulesEngine.AnnotationRulesEngineResult |
validateAnnotations(GafDocument doc)
Validate the given
GafDocument . |
public AnnotationRulesEngine(AnnotationRulesFactory rulesFactory, boolean createInferences, boolean useExperimental)
public AnnotationRule getRule(String id)
id
- public AnnotationRulesEngine.AnnotationRulesEngineResult validateAnnotations(GafDocument doc) throws AnnotationRulesEngine.AnnotationRuleCheckException
GafDocument
.doc
- AnnotationRulesEngine.AnnotationRuleCheckException
Copyright © 2010-2014. All Rights Reserved.