| Package | Description |
|---|---|
| com.aliasi.chunk |
Classes for extracting meaningful chunks (spans) of text.
|
| com.aliasi.classify |
Classes for classifying data and evaluation.
|
| com.aliasi.crf |
Classes and interfaces for conditional random fields.
|
| com.aliasi.lm |
Classes for character- and token-based language models.
|
| com.aliasi.spell |
Classes for spelling correction and edit distance.
|
| com.aliasi.util |
Classes for general Java utilities.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ScoredObject<Chunking>> |
NBestChunker.nBest(char[] cs,
int start,
int end,
int maxNBest)
Return the scored chunkings of the specified character sequence
in order as an iterator in order of score.
|
Iterator<ScoredObject<Chunking>> |
RescoringChunker.nBest(char[] cs,
int start,
int end,
int maxNBest)
Returns the n-best chunkings of the specified character slice.
|
Iterator<ScoredObject<Chunking>> |
HmmChunker.nBest(char[] cs,
int start,
int end,
int maxNBest)
Returns a size-bounded iterator over scored objects with joint
probability estimates of tags and tokens as scores and
chunkings as objects.
|
Iterator<ScoredObject<Chunking>> |
HmmChunker.nBestConditional(char[] cs,
int start,
int end,
int maxNBest)
Returns a size-bounded iterator over scored objects with
conditional probability estimates of tags and tokens as scores
and chunkings as objects.
|
| Modifier and Type | Method and Description |
|---|---|
static ScoredClassification |
ScoredClassification.create(ScoredObject<String>[] categoryScores)
Deprecated.
Use
ScoredClassification.create(List) instead. |
| Modifier and Type | Method and Description |
|---|---|
static ScoredClassification |
ScoredClassification.create(List<ScoredObject<String>> categoryScores)
Factory method which returns a scored classification from the
list of scored categories.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ScoredObject<Chunking>> |
ChainCrfChunker.nBest(char[] cs,
int start,
int end,
int maxResults) |
Iterator<ScoredObject<Chunking>> |
ChainCrfChunker.nBestConditional(char[] cs,
int start,
int end,
int maxResults)
Returns an iterator over n-best chunkings with scores
normalized to conditional probabilities of the output given the
input string slice.
|
| Modifier and Type | Method and Description |
|---|---|
SortedSet<ScoredObject<String[]>> |
TokenizedLM.collocationSet(int nGram,
int minCount,
int maxReturned)
Returns an array of collocations in order of confidence that
their token sequences are not independent.
|
SortedSet<ScoredObject<String[]>> |
TokenizedLM.frequentTermSet(int nGram,
int maxReturned)
Returns the most frequent n-gram terms in the training data up
to the specified maximum number.
|
SortedSet<ScoredObject<String[]>> |
TokenizedLM.infrequentTermSet(int nGram,
int maxReturned)
Returns the least frequent n-gram terms in the training data up
to the specified maximum number.
|
SortedSet<ScoredObject<String[]>> |
TokenizedLM.newTermSet(int nGram,
int minCount,
int maxReturned,
LanguageModel.Tokenized backgroundLM)
Returns a list of scored n-grams ordered by the significance
of the degree to which their counts in this model exceed their
expected counts in a specified background model.
|
SortedSet<ScoredObject<String[]>> |
TokenizedLM.oldTermSet(int nGram,
int minCount,
int maxReturned,
LanguageModel.Tokenized backgroundLM)
Returns a list of scored n-grams ordered in reverse order
of significance with respect to the background model.
|
| Modifier and Type | Method and Description |
|---|---|
SortedSet<ScoredObject<String>> |
AutoCompleter.complete(String in)
Returns a set of scored phrases sorted into decreasing order of
score.
|
Iterator<ScoredObject<String>> |
CompiledSpellChecker.didYouMeanNBest(String receivedMsg)
Returns an iterator over the n-best spelling corrections for
the specified input string.
|
| Modifier and Type | Method and Description |
|---|---|
List<ScoredObject<E>> |
ObjectToDoubleMap.scoredObjectsOrderedByValueList()
Returns a list of scored objects corresponding to the entries
in decreasing order of value.
|
Copyright © 2016 Alias-i, Inc.. All rights reserved.