net.sf.textkit4j.classify.ngram
Class WordBigramClassifier

java.lang.Object
  extended by net.sf.textkit4j.classify.ngram.NgramClassifier
      extended by net.sf.textkit4j.classify.ngram.WordBigramClassifier
All Implemented Interfaces:
Classifier

public class WordBigramClassifier
extends NgramClassifier


Field Summary
 
Fields inherited from class net.sf.textkit4j.classify.ngram.NgramClassifier
ngramFactory, trainingNgrams
 
Constructor Summary
WordBigramClassifier()
           
 
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
 

Constructor Detail

WordBigramClassifier

public WordBigramClassifier()
Method Detail

trainToClassifyAs

public void trainToClassifyAs(java.lang.String language,
                              java.lang.String text)
Specified by:
trainToClassifyAs in interface Classifier
Specified by:
trainToClassifyAs in class NgramClassifier


Copyright © 2009 All Eight, LLC. All Rights Reserved.