org.cleartk.timeml.util
Class TokenTextForSelectedPOSExtractor

java.lang.Object
  extended by org.cleartk.timeml.util.TokenTextForSelectedPOSExtractor
All Implemented Interfaces:
org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor

public class TokenTextForSelectedPOSExtractor
extends Object
implements org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor


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

Author:
Steven Bethard

Constructor Summary
TokenTextForSelectedPOSExtractor(Collection<String> acceptablePOSTags)
           
TokenTextForSelectedPOSExtractor(String... acceptablePOSTags)
           
 
Method Summary
 List<org.cleartk.classifier.Feature> extract(org.apache.uima.jcas.JCas view, org.apache.uima.jcas.tcas.Annotation focusAnnotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenTextForSelectedPOSExtractor

public TokenTextForSelectedPOSExtractor(Collection<String> acceptablePOSTags)

TokenTextForSelectedPOSExtractor

public TokenTextForSelectedPOSExtractor(String... acceptablePOSTags)
Method Detail

extract

public List<org.cleartk.classifier.Feature> extract(org.apache.uima.jcas.JCas view,
                                                    org.apache.uima.jcas.tcas.Annotation focusAnnotation)
                                             throws org.cleartk.classifier.feature.extractor.CleartkExtractorException
Specified by:
extract in interface org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor
Throws:
org.cleartk.classifier.feature.extractor.CleartkExtractorException


Copyright © 2012. All Rights Reserved.