net.sf.textkit4j.classify.regex
Class RegexingClassifier

java.lang.Object
  extended by net.sf.textkit4j.classify.regex.RegexingClassifier
All Implemented Interfaces:
Classifier

public class RegexingClassifier
extends java.lang.Object
implements Classifier


Constructor Summary
RegexingClassifier()
           
 
Method Summary
 java.util.Collection<Classification> classify(java.lang.String text)
           
 void trainToClassifyAs(java.lang.String category, java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexingClassifier

public RegexingClassifier()
Method Detail

classify

public java.util.Collection<Classification> classify(java.lang.String text)
Specified by:
classify in interface Classifier

trainToClassifyAs

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


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