public class IdentifiedAnnotationFeatureExtractor extends Object implements org.cleartk.ml.feature.extractor.FeatureExtractor1
Constructor and Description |
---|
IdentifiedAnnotationFeatureExtractor(String name,
Map<String,double[]> textDoublesMap) |
Modifier and Type | Method and Description |
---|---|
List<org.cleartk.ml.Feature> |
extract(org.apache.uima.jcas.JCas view,
org.apache.uima.jcas.tcas.Annotation annotation) |
static Map<String,double[]> |
parseTextDoublesMap(File file,
Charset charset) |
public static Map<String,double[]> parseTextDoublesMap(File file, Charset charset) throws IOException
IOException
public List<org.cleartk.ml.Feature> extract(org.apache.uima.jcas.JCas view, org.apache.uima.jcas.tcas.Annotation annotation) throws org.cleartk.ml.feature.extractor.CleartkExtractorException
extract
in interface org.cleartk.ml.feature.extractor.FeatureExtractor1
org.cleartk.ml.feature.extractor.CleartkExtractorException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.