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