NGram  ngram-1.3.15
OpenGrm-NGram library
Namespaces | Functions
ngram-complete.h File Reference
#include <set>
#include <vector>
#include <fst/arcsort.h>
#include <fst/fst.h>
#include <fst/matcher.h>
#include <fst/mutable-fst.h>
#include <ngram/ngram-model.h>
#include <ngram/util.h>
Include dependency graph for ngram-complete.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ngram
 

Functions

template<class Arc >
bool ngram::AscendAndCollectStateInfo (const fst::Fst< Arc > &fst, int order, typename Arc::Label backoff_label, std::vector< std::vector< typename Arc::StateId >> *order_states, std::vector< int > *state_orders, std::vector< typename Arc::StateId > *backoff_states)
 
template<class Arc >
bool ngram::NGramComplete (fst::MutableFst< Arc > *fst, typename Arc::Label backoff_label=0)