|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.text.BOWClassifierWrapper
public class BOWClassifierWrapper
Use a bag-of-words classifier to classify strings.
Don't use this: the class text/learn/ClassifierAnnotator is preferable in everyway. This class will eventually be removed from Minorthird.
Constructor Summary | |
---|---|
BOWClassifierWrapper(java.io.File file)
Deprecated. |
|
BOWClassifierWrapper(java.io.InputStream in)
Deprecated. |
Method Summary | |
---|---|
double |
getScore(java.lang.String string)
Deprecated. |
static void |
main(java.lang.String[] args)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BOWClassifierWrapper(java.io.File file) throws java.io.IOException
java.io.IOException
public BOWClassifierWrapper(java.io.InputStream in) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public double getScore(java.lang.String string)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |