|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.text.learn.BinaryTextClassifier
public class BinaryTextClassifier
Class the returns the score of a string rather than an instance
Constructor Summary | |
---|---|
BinaryTextClassifier(OnlineClassifierLearner learner,
SpanFeatureExtractor fe)
|
Method Summary | |
---|---|
double |
score(java.lang.String text)
Returns the weight for a String being in the positive class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryTextClassifier(OnlineClassifierLearner learner, SpanFeatureExtractor fe)
Method Detail |
---|
public double score(java.lang.String text)
score
in interface TextClassifier
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |