| Package | Description |
|---|---|
| com.aliasi.classify |
Classes for classifying data and evaluation.
|
| com.aliasi.lm |
Classes for character- and token-based language models.
|
| com.aliasi.spell |
Classes for spelling correction and edit distance.
|
| com.aliasi.test.unit.lm |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
NGramProcessLM |
NGramBoundaryLM.getProcessLM()
Returns the underlying n-gram process language model
for this boundary language model.
|
static NGramProcessLM |
NGramProcessLM.readFrom(InputStream in)
Reads a language model from the specified input stream.
|
| Constructor and Description |
|---|
NGramBoundaryLM(NGramProcessLM processLm,
char boundaryChar)
Construct an n-gram boundary language model with the specified
boundary character and underlying process language model.
|
| Modifier and Type | Method and Description |
|---|---|
NGramProcessLM |
TrainSpellChecker.languageModel()
Returns the n-gram process language model (source model)
underlying this spell checker trainer.
|
| Constructor and Description |
|---|
TrainSpellChecker(NGramProcessLM lm,
WeightedEditDistance editDistance)
Construct a non-tokenizing spell checker trainer from the
specified language model and edit distance.
|
TrainSpellChecker(NGramProcessLM lm,
WeightedEditDistance editDistance,
TokenizerFactory tokenizerFactory)
Construct a spell checker trainer from the specified n-gram
process language model, tokenizer factory and edit distance.
|
| Modifier and Type | Method and Description |
|---|---|
static NGramProcessLM |
NGramProcessLMTest.readWrite(NGramProcessLM lm) |
| Modifier and Type | Method and Description |
|---|---|
void |
NGramProcessLMTest.assertModel(NGramProcessLM model) |
static NGramProcessLM |
NGramProcessLMTest.readWrite(NGramProcessLM lm) |
Copyright © 2019 Alias-i, Inc.. All rights reserved.