| Package | Description |
|---|---|
| com.aliasi.classify |
Classes for classifying data and evaluation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryLMClassifier
A
BinaryLMClassifier is a boolean dynamic language
model classifier for use when there are two categories, but
training data is only available for one of the categories. |
class |
NaiveBayesClassifier
A
NaiveBayesClassifier provides a trainable naive Bayes
text classifier, with tokens as features. |
| Modifier and Type | Method and Description |
|---|---|
static DynamicLMClassifier<NGramBoundaryLM> |
DynamicLMClassifier.createNGramBoundary(String[] categories,
int maxCharNGram)
Construct a dynamic classifier over the specified cateogries,
using boundary character n-gram models of the specified order.
|
static DynamicLMClassifier<NGramProcessLM> |
DynamicLMClassifier.createNGramProcess(String[] categories,
int maxCharNGram)
Construct a dynamic classifier over the specified categories,
using process character n-gram models of the specified order.
|
static DynamicLMClassifier<TokenizedLM> |
DynamicLMClassifier.createTokenized(String[] categories,
TokenizerFactory tokenizerFactory,
int maxTokenNGram)
Construct a dynamic language model classifier over the
specified categories using token n-gram language models of the
specified order and the specified tokenizer factory for
tokenization.
|
Copyright © 2019 Alias-i, Inc.. All rights reserved.