public class Affixes
extends edu.illinois.cs.cogcomp.lbjava.classify.Classifier
Word
as input and
generates features representing the prefixes and suffixes of the input
word. The generated features include prefixes of length 3 and 4 and
suffixes of lengths 1 through 4 of the input word only. If any of those
words do not exist, the corresponding features aren't generated.
This class's implementation was automatically generated by the LBJava compiler.
Constructor and Description |
---|
Affixes() |
Modifier and Type | Method and Description |
---|---|
edu.illinois.cs.cogcomp.lbjava.classify.FeatureVector |
classify(Object __example) |
edu.illinois.cs.cogcomp.lbjava.classify.FeatureVector[] |
classify(Object[] examples) |
boolean |
equals(Object o) |
String |
getInputType() |
String |
getOutputType() |
int |
hashCode() |
public String getInputType()
getInputType
in class edu.illinois.cs.cogcomp.lbjava.classify.Classifier
public String getOutputType()
getOutputType
in class edu.illinois.cs.cogcomp.lbjava.classify.Classifier
public edu.illinois.cs.cogcomp.lbjava.classify.FeatureVector classify(Object __example)
classify
in class edu.illinois.cs.cogcomp.lbjava.classify.Classifier
public edu.illinois.cs.cogcomp.lbjava.classify.FeatureVector[] classify(Object[] examples)
classify
in class edu.illinois.cs.cogcomp.lbjava.classify.Classifier
Copyright © 2017. All rights reserved.