Package com.gengoai.hermes.annotator
Class DefaultSentenceAnnotator
- java.lang.Object
-
- com.gengoai.hermes.annotator.Annotator
-
- com.gengoai.hermes.annotator.DefaultSentenceAnnotator
-
- All Implemented Interfaces:
Serializable
public class DefaultSentenceAnnotator extends Annotator
Default Sentence Annotator that works reasonably well on tokenized text.- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultSentenceAnnotator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
annotateImpl(Document doc)
Annotates a document with one or more AnnotatableType defined insatisfies()
.Set<AnnotatableType>
requires()
The annotation types required to be on a document before this annotator can annotateSet<AnnotatableType>
satisfies()
The set of annotation types that this annotator satisfies by this annotator-
Methods inherited from class com.gengoai.hermes.annotator.Annotator
annotate, getProvider
-
-
-
-
Method Detail
-
annotateImpl
protected void annotateImpl(Document doc)
Description copied from class:Annotator
Annotates a document with one or more AnnotatableType defined insatisfies()
.- Specified by:
annotateImpl
in classAnnotator
- Parameters:
doc
- The document to annotate
-
requires
public Set<AnnotatableType> requires()
Description copied from class:Annotator
The annotation types required to be on a document before this annotator can annotate
-
satisfies
public Set<AnnotatableType> satisfies()
Description copied from class:Annotator
The set of annotation types that this annotator satisfies by this annotator
-
-