I
- the class of the input classification categoriesO
- the class of the output classification categoriespublic interface KeywordClassifier<I,O> extends Classifier<KeywordClassification<I>,O>
Modifier and Type | Method and Description |
---|---|
KeywordClassification<O> |
classify(KeywordClassification<I> inputClassification,
Parametric parameters)
Transforms the given
inputClassification into the output keyword classification. |
java.lang.Class<? extends O> |
getCategoriesClass()
Returns the class of the output classification categories.
|
java.lang.Class<? extends I> |
getInputCategoriesClass()
Returns the class of the input classification categories.
|
java.lang.Class<? extends I> getInputCategoriesClass()
java.lang.Class<? extends O> getCategoriesClass()
getCategoriesClass
in interface Classifier<KeywordClassification<I>,O>
KeywordClassification<O> classify(KeywordClassification<I> inputClassification, Parametric parameters) throws ClassificationException
inputClassification
into the output keyword classification.classify
in interface Classifier<KeywordClassification<I>,O>
inputClassification
- the keyword classification to transformparameters
- additional parameters for the classification;
the values for the parameters are specific to a given classifier
implementation and can be updated during the process if they are ModifiableParametric
ClassificationException
- if there was an error classifying the object