public class WordConjunctionOneTwoThreeGramWindowTwo extends Object implements FeatureExtractor
Constituent
object.
Generates a conjunction of 3-shingles from a window of 2 tokens.Constructor and Description |
---|
WordConjunctionOneTwoThreeGramWindowTwo(String viewName) |
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
public static View TOKENS
public WordConjunctionOneTwoThreeGramWindowTwo(String viewName)
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.