|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.examples.tokenizer.SimpleTokenAndSentenceAnnotator
public class SimpleTokenAndSentenceAnnotator
An example annotator that annotates Tokens and Sentences.
| Constructor Summary | |
|---|---|
SimpleTokenAndSentenceAnnotator()
|
|
| Method Summary | |
|---|---|
void |
process(JCas aJCas)
This method should be overriden by subclasses. |
| Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase |
|---|
getRequiredCasInterface, process |
| Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase |
|---|
getCasInstancesRequired, hasNext, next |
| Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase |
|---|
batchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, initialize, reconfigure, setResultSpecification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleTokenAndSentenceAnnotator()
| Method Detail |
|---|
public void process(JCas aJCas)
throws AnalysisEngineProcessException
JCasAnnotator_ImplBaseAnnotator_ImplBase.hasNext() is called and returns
false (see AnalysisComponent for details).
process in class JCasAnnotator_ImplBaseaJCas - a JCAS that this AnalysisComponent should process.
AnalysisEngineProcessException - if a problem occurs during processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||