org.cleartk.token.pos.impl
Class DefaultPOSAnnotator

java.lang.Object
  extended by org.apache.uima.analysis_component.AnalysisComponent_ImplBase
      extended by org.apache.uima.analysis_component.Annotator_ImplBase
          extended by org.apache.uima.analysis_component.JCasAnnotator_ImplBase
              extended by org.uimafit.component.JCasAnnotator_ImplBase
                  extended by org.cleartk.classifier.CleartkSequenceAnnotator<String>
                      extended by org.cleartk.token.pos.POSAnnotator<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>
                          extended by org.cleartk.token.pos.impl.DefaultPOSAnnotator
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent, org.uimafit.factory.initializable.Initializable

public class DefaultPOSAnnotator
extends POSAnnotator<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>


Copyright (c) 2009, Regents of the University of Colorado
All rights reserved.

Author:
Philip Ogren

Field Summary
 
Fields inherited from class org.cleartk.token.pos.POSAnnotator
featureExtractor, PARAM_FEATURE_EXTRACTOR_CLASS_NAME, sentenceType, tokenType, typesInitialized
 
Fields inherited from class org.cleartk.classifier.CleartkSequenceAnnotator
classifier, dataWriter, PARAM_CLASSIFIER_FACTORY_CLASS_NAME, PARAM_DATA_WRITER_FACTORY_CLASS_NAME, PARAM_IS_TRAINING
 
Constructor Summary
DefaultPOSAnnotator()
           
 
Method Summary
 String getTag(org.apache.uima.jcas.JCas cas, org.cleartk.token.type.Token token)
           
 void setTag(org.apache.uima.jcas.JCas cas, org.cleartk.token.type.Token token, String tag)
           
 
Methods inherited from class org.cleartk.token.pos.POSAnnotator
initialize, initializeTypes, process, setFeatureExtractorClassName
 
Methods inherited from class org.cleartk.classifier.CleartkSequenceAnnotator
classify, collectionProcessComplete, isTraining
 
Methods inherited from class org.uimafit.component.JCasAnnotator_ImplBase
getLogger
 
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, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPOSAnnotator

public DefaultPOSAnnotator()
Method Detail

setTag

public void setTag(org.apache.uima.jcas.JCas cas,
                   org.cleartk.token.type.Token token,
                   String tag)
Specified by:
setTag in class POSAnnotator<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>

getTag

public String getTag(org.apache.uima.jcas.JCas cas,
                     org.cleartk.token.type.Token token)
Specified by:
getTag in class POSAnnotator<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>


Copyright © 2012. All Rights Reserved.