com.aliasi.classify
Interface Classifier<E,C extends Classification>

Type Parameters:
E - the type of objects being classified
C - the type of classification returned
All Known Implementing Classes:
BernoulliClassifier, BigVectorClassifier, BinaryLMClassifier, DynamicLMClassifier, KnnClassifier, LMClassifier, LogisticRegressionClassifier, NaiveBayesClassifier, PerceptronClassifier, TradNaiveBayesClassifier

Deprecated. Use BaseClassifier or one if its subinterfaces.

@Deprecated
public interface Classifier<E,C extends Classification>

The Classifier interface specifies a single method that returns the classification of an input object. A classification is only required to provide a first-best categorization of the input. Classifiers may return subclasses of Classification that include n-best results with numerical scores of various interpretations.

Since:
LingPipe2.0
Version:
3.9.1
Author:
Bob Carpenter

Method Summary
 C classify(E input)
          Deprecated. Return the classification of the specified object.
 

Method Detail

classify

C classify(E input)
Deprecated. 
Return the classification of the specified object. Implementations may return more fine-grained results by returning a subclass of Classification.

Parameters:
input - Object to classify.
Returns:
Classification of the object.