| Package | Description |
|---|---|
| com.aliasi.lm |
Classes for character- and token-based language models.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CharSeqMultiCounter
A
CharSeqMultiCounter combines the counts from a pair
of character sequence counters. |
class |
TrieCharSeqCounter
A
TrieCharSeqCounter stores counts for substrings of
strings. |
| Modifier and Type | Method and Description |
|---|---|
static void |
TrieCharSeqCounter.writeCounter(CharSeqCounter counter,
TrieWriter writer,
int maxNGram)
Writes the specified sequence counter to the specified trie
writer, restricting output to n-grams not longer than the
specified maximum.
|
| Constructor and Description |
|---|
CharSeqMultiCounter(CharSeqCounter[] counters)
Construct a character sequence counter from the specified array
of counters.
|
CharSeqMultiCounter(CharSeqCounter counter1,
CharSeqCounter counter2)
Construct a multi-counter from the specified pair of counters.
|
Copyright © 2019 Alias-i, Inc.. All rights reserved.