|
| EST_PredictionSuffixTree (const int order) |
|
| EST_PredictionSuffixTree (const EST_String filename) |
|
| EST_PredictionSuffixTree (const EST_TList< EST_String > &vocab, int order=2) |
|
void | clear (void) |
|
void | init (const int order) |
|
double | samples () const |
|
int | states () const |
|
int | order (void) const |
|
void | accumulate (const EST_StrVector &words, const double count=1, const int index=0) |
|
int | load (const EST_String filename) |
|
int | save (const EST_String filename, const EST_PredictionSuffixTree::EST_filetype type=PredictionSuffixTree_ascii) |
|
void | build (const EST_String filename, const EST_String prev, const EST_String prev_prev, const EST_String last) |
|
void | build (const EST_StrList &input) |
|
void | test (const EST_String filename) |
|
void | print_freqs (ostream &os) |
|
void | print_probs (ostream &os) |
|
const EST_String & | predict (const EST_StrVector &words) const |
|
const EST_String & | predict (const EST_StrVector &words, double *prob) const |
|
const EST_String & | predict (const EST_StrVector &words, double *prob, int *state) const |
|
const EST_DiscreteProbDistribution & | prob_dist (const EST_StrVector &words) const |
|
double | rev_prob (const EST_StrVector &words) const |
|
double | rev_prob (const EST_StrVector &words, const EST_DiscreteProbDistribution &pd) const |
|
Definition at line 83 of file EST_PST.h.
◆ EST_PredictionSuffixTree() [1/2]
EST_PredictionSuffixTree::EST_PredictionSuffixTree |
( |
void | | ) |
|
◆ EST_PredictionSuffixTree() [2/2]
EST_PredictionSuffixTree::EST_PredictionSuffixTree |
( |
const int | order | ) |
|
|
inline |
◆ ~EST_PredictionSuffixTree()
EST_PredictionSuffixTree::~EST_PredictionSuffixTree |
( |
| ) |
|
◆ ppredict()
◆ p_accumulate()
◆ p_prob_dist()
◆ clear()
void EST_PredictionSuffixTree::clear |
( |
void | | ) |
|
◆ init()
void EST_PredictionSuffixTree::init |
( |
const int | order | ) |
|
◆ samples()
double EST_PredictionSuffixTree::samples |
( |
| ) |
const |
|
inline |
◆ states()
int EST_PredictionSuffixTree::states |
( |
| ) |
const |
|
inline |
◆ order()
int EST_PredictionSuffixTree::order |
( |
void | | ) |
const |
|
inline |
◆ accumulate()
void EST_PredictionSuffixTree::accumulate |
( |
const EST_StrVector & | words, |
|
|
const double | count = 1, |
|
|
const int | index = 0 ) |
◆ load()
int EST_PredictionSuffixTree::load |
( |
const EST_String | filename | ) |
|
◆ save()
int EST_PredictionSuffixTree::save |
( |
const EST_String | filename, |
|
|
const EST_PredictionSuffixTree::EST_filetype | type = PredictionSuffixTree_ascii ) |
◆ build() [1/2]
◆ build() [2/2]
void EST_PredictionSuffixTree::build |
( |
const EST_StrList & | input | ) |
|
◆ test()
void EST_PredictionSuffixTree::test |
( |
const EST_String | filename | ) |
|
◆ print_freqs()
void EST_PredictionSuffixTree::print_freqs |
( |
ostream & | os | ) |
|
◆ print_probs()
void EST_PredictionSuffixTree::print_probs |
( |
ostream & | os | ) |
|
◆ predict() [1/3]
◆ predict() [2/3]
◆ predict() [3/3]
const EST_String & EST_PredictionSuffixTree::predict |
( |
const EST_StrVector & | words, |
|
|
double * | prob, |
|
|
int * | state ) const |
◆ prob_dist()
◆ rev_prob() [1/2]
double EST_PredictionSuffixTree::rev_prob |
( |
const EST_StrVector & | words | ) |
const |
◆ rev_prob() [2/2]
◆ p_order
int EST_PredictionSuffixTree::p_order |
|
protected |
◆ num_states
int EST_PredictionSuffixTree::num_states |
|
protected |
◆ nodes
◆ pd
The documentation for this class was generated from the following files: