net.sf.textkit4j.classify
Interface Classifier

All Known Implementing Classes:
BayesianClassifier, CharacterBigramClassifier, NgramClassifier, RegexingClassifier, WordBigramClassifier

public interface Classifier

Classifiers assign a category, label, or group name to input text based on previously trained data sets.

Author:
rich

Method Summary
 java.util.Collection<Classification> classify(java.lang.String text)
           
 void trainToClassifyAs(java.lang.String category, java.lang.String text)
           
 

Method Detail

trainToClassifyAs

void trainToClassifyAs(java.lang.String category,
                       java.lang.String text)

classify

java.util.Collection<Classification> classify(java.lang.String text)


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