public class ChunkWindowThreeBefore extends Object implements FeatureExtractor
Modifier and Type | Field and Description |
---|---|
static View |
SHALLOW_PARSE |
static View |
TOKENS |
Constructor and Description |
---|
ChunkWindowThreeBefore(String viewName) |
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
List<Constituent> |
getwordskfrom(View TOKENS,
int startspan,
int endspan,
int k) |
public ChunkWindowThreeBefore(String viewName)
public List<Constituent> getwordskfrom(View TOKENS, int startspan, int endspan, int k)
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.