public class SpanFeaturesOrdered extends Object implements FeatureExtractor
Modifier and Type | Field and Description |
---|---|
static SpanFeaturesOrdered |
POS_BIGRAMS |
static SpanFeaturesOrdered |
POS_TRIGRAMS |
static SpanFeaturesOrdered |
POS_UNIGRAMS |
static SpanFeaturesOrdered |
SHALLOW_PARSE_BIGRAMS |
static SpanFeaturesOrdered |
SHALLOW_PARSE_UNIGRAMS |
Constructor and Description |
---|
SpanFeaturesOrdered(String viewName,
int ngramLength) |
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
public static SpanFeaturesOrdered POS_UNIGRAMS
public static SpanFeaturesOrdered POS_BIGRAMS
public static SpanFeaturesOrdered POS_TRIGRAMS
public static SpanFeaturesOrdered SHALLOW_PARSE_UNIGRAMS
public static SpanFeaturesOrdered SHALLOW_PARSE_BIGRAMS
public SpanFeaturesOrdered(String viewName, int ngramLength)
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.