|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.textkit4j.classify.ngram.NgramClassifier net.sf.textkit4j.classify.ngram.CharacterBigramClassifier
public class CharacterBigramClassifier
Classifies text using character-based bigrams.
Field Summary |
---|
Fields inherited from class net.sf.textkit4j.classify.ngram.NgramClassifier |
---|
ngramFactory, trainingNgrams |
Constructor Summary | |
---|---|
CharacterBigramClassifier()
|
Method Summary | |
---|---|
void |
trainToClassifyAs(java.lang.String language,
java.lang.String text)
|
Methods inherited from class net.sf.textkit4j.classify.ngram.NgramClassifier |
---|
classify, getNgramFactory, getTrainingData, setNgramFactory, setNGramFactory, setTrainingData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.textkit4j.classify.Classifier |
---|
classify |
Constructor Detail |
---|
public CharacterBigramClassifier()
Method Detail |
---|
public void trainToClassifyAs(java.lang.String language, java.lang.String text)
trainToClassifyAs
in interface Classifier
trainToClassifyAs
in class NgramClassifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |