public class Forms
extends edu.illinois.cs.cogcomp.lbjava.classify.Classifier
Word
as input and
generates features representing the forms of the words in a [-2, +2]
window around the input word. The generated features consist of the
Word.form
of the input word as well as the forms of the two words
before the input word in the sentence and the forms of the two words after
the input word in the sentence. If any of those words do not exist, the
corresponding feature isn't generated.
This class's implementation was automatically generated by the LBJava compiler.
Constructor and Description |
---|
Forms() |
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.