Modifier and Type | Class and Description |
---|---|
static class |
ContinuousTextExtractor.OovStrategy |
Constructor and Description |
---|
ContinuousTextExtractor(String vecFile) |
ContinuousTextExtractor(String vecFile,
ContinuousTextExtractor.OovStrategy oovStrategy) |
Modifier and Type | Method and Description |
---|---|
List<org.cleartk.ml.Feature> |
extract(org.apache.uima.jcas.JCas view,
BaseToken token) |
int |
getEmbeddingsDimensionality() |
String |
getFeatureName() |
public ContinuousTextExtractor(String vecFile) throws org.cleartk.ml.feature.extractor.CleartkExtractorException
org.cleartk.ml.feature.extractor.CleartkExtractorException
public ContinuousTextExtractor(String vecFile, ContinuousTextExtractor.OovStrategy oovStrategy) throws org.cleartk.ml.feature.extractor.CleartkExtractorException
org.cleartk.ml.feature.extractor.CleartkExtractorException
public List<org.cleartk.ml.Feature> extract(org.apache.uima.jcas.JCas view, BaseToken token) throws org.cleartk.ml.feature.extractor.CleartkExtractorException
extract
in interface org.cleartk.ml.feature.extractor.FeatureExtractor1<BaseToken>
org.cleartk.ml.feature.extractor.CleartkExtractorException
public int getEmbeddingsDimensionality()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.