org.cleartk.token.pos.impl
Class DefaultFeatureExtractor

java.lang.Object
  extended by org.cleartk.token.pos.impl.DefaultFeatureExtractor
All Implemented Interfaces:
POSFeatureExtractor<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>, org.uimafit.factory.initializable.Initializable

public class DefaultFeatureExtractor
extends Object
implements POSFeatureExtractor<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>, org.uimafit.factory.initializable.Initializable


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

Author:
Philip Ogren

Constructor Summary
DefaultFeatureExtractor()
           
 
Method Summary
 List<org.cleartk.classifier.Feature> extractFeatures(org.apache.uima.jcas.JCas jCas, org.cleartk.token.type.Token token, org.cleartk.token.type.Sentence sentence)
           
 void initialize(org.apache.uima.UimaContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeatureExtractor

public DefaultFeatureExtractor()
Method Detail

initialize

public void initialize(org.apache.uima.UimaContext context)
                throws org.apache.uima.resource.ResourceInitializationException
Specified by:
initialize in interface org.uimafit.factory.initializable.Initializable
Throws:
org.apache.uima.resource.ResourceInitializationException

extractFeatures

public List<org.cleartk.classifier.Feature> extractFeatures(org.apache.uima.jcas.JCas jCas,
                                                            org.cleartk.token.type.Token token,
                                                            org.cleartk.token.type.Sentence sentence)
                                                     throws org.cleartk.classifier.feature.extractor.CleartkExtractorException
Specified by:
extractFeatures in interface POSFeatureExtractor<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>
Throws:
org.cleartk.classifier.feature.extractor.CleartkExtractorException


Copyright © 2012. All Rights Reserved.