public class SectionAnnotator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
DocumentBlocks with ContentSection like
Acknowlegments, Correspondance, etc. Uses lists of section titles.| Constructor and Description |
|---|
SectionAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanBlockText(String text)
Used to identify block "titles", like "Introduction","References"
|
void |
collectionProcessComplete() |
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas jCas) |
getRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic void initialize(org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
initialize in interface org.apache.uima.analysis_component.AnalysisComponentinitialize in class org.apache.uima.fit.component.JCasAnnotator_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void process(org.apache.uima.jcas.JCas jCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionpublic void collectionProcessComplete()
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
collectionProcessComplete in interface org.apache.uima.analysis_component.AnalysisComponentcollectionProcessComplete in class org.apache.uima.analysis_component.AnalysisComponent_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionpublic static String cleanBlockText(String text)
the - text from a DocumentBlockCopyright © 2015 Bluebrain Project. All rights reserved.