public class CurrencyIndicator extends Object implements FeatureExtractor
Modifier and Type | Field and Description |
---|---|
static CurrencyIndicator |
instance |
Constructor and Description |
---|
CurrencyIndicator(String file,
boolean gzip)
Loads the list of currencies from the classpath
|
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
public static final CurrencyIndicator instance
public CurrencyIndicator(String file, boolean gzip) throws IOException, URISyntaxException
IOException
URISyntaxException
public Set<Feature> getFeatures(Constituent c) throws EdisonException
getFeatures
in interface FeatureExtractor
EdisonException
public String getName()
getName
in interface FeatureExtractor
Copyright © 2017. All rights reserved.