#include <mootNgrams.h>
|
Type for secondary lookup table |
|
Type for an N-Gram count |
|
Type for primary lookup-table |
|
Type for tertiary (tag->trigramCount) lookup-table entry |
|
Default constructor |
|
Default destructor |
|
Add |
|
Add |
|
Add |
|
Add |
|
Add |
|
Clear the ngrams object |
|
Load n-grams from a TnT-style parameter file (stream version) |
|
Load n-grams from a TnT-style parameter file |
|
Returns current count for trigram <tag1,tag2,tag3>, returns 0 if unknown |
|
Returns current count for bigram <tag1,tag2>, returns 0 if unknown |
|
Returns current count for unigram, returns 0 if unknown |
|
Return the number of distinct stored bigrams |
|
Return the number of distinct stored trigrams |
|
Save n-grams to a TnT-style paramater file (stream version) |
|
Save n-grams to a TnT-style paramater file |
|
N-Gram to count lookup table |
|
total number of unigrams |