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
IOExceptionURISyntaxExceptionpublic Set<Feature> getFeatures(Constituent c) throws EdisonException
getFeatures in interface FeatureExtractorEdisonExceptionpublic String getName()
getName in interface FeatureExtractorCopyright © 2017. All rights reserved.