|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.annotation.wordfreak.annotator.Annotator org.annotation.wordfreak.annotator.DocumentProcessor org.annotation.wordfreak.annotator.ParagraphProcessor org.annotation.wordfreak.annotator.SentenceAnnotator
Field Summary |
Fields inherited from class org.annotation.wordfreak.annotator.Annotator |
annotationFilter, dataDirectory, DEFAULT_ANNOTATOR_NAME, files, guiListener, listeners, loaded, progress, trainingFilter |
Constructor Summary | |
SentenceAnnotator(java.lang.String type)
|
Method Summary | |
protected void |
processParagraph(Annotation paragraph,
double percentage)
Processes the specified paragraph which consisits of the specified percentage of total work to be performed by this annotator. |
protected abstract Span[] |
sentDetect(java.lang.String s)
|
protected abstract double[] |
sentProbs()
|
Methods inherited from class org.annotation.wordfreak.annotator.ParagraphProcessor |
processDocument |
Methods inherited from class org.annotation.wordfreak.annotator.DocumentProcessor |
annotating |
Methods inherited from class org.annotation.wordfreak.annotator.Annotator |
actionPerformed, addAnnotatorListener, annotate, annotatedFile, closeAnnotatedFile, done, getDataDirectory, hideWaitDialog, loadAnnotator, loaded, removeAnnotatorListener, setAnnotationFilter, setDataDirectory, setGuiListener, setProgress, setTrainingFilter, showWaitDialog, sortedOutcomes, supportsTraining, train, training, updateProgress |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SentenceAnnotator(java.lang.String type)
Method Detail |
protected void processParagraph(Annotation paragraph, double percentage)
ParagraphProcessor
processParagraph
in class ParagraphProcessor
paragraph
- The paragraph to be processed.percentage
- The percentage of total work that this paragraph represents.protected abstract Span[] sentDetect(java.lang.String s)
protected abstract double[] sentProbs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |