public interface FeatureGenerator
Modifier and Type | Method and Description |
---|---|
Collection<String> |
extractFeatures(String[] text,
Map<String,Object> extraInformation)
Extract features from given text fragments
|
Collection<String> extractFeatures(String[] text, Map<String,Object> extraInformation)
text
- the text fragments to extract features fromextraInformation
- optional extra information to be used by the feature generatorCopyright © 2017 The Apache Software Foundation. All rights reserved.