Phonetisaurus
1.0
FST-based Grapheme-to-Phoneme conversion
|
#include <RnnLMDecoder.h>
Public Types | |
typedef D | Decodable |
typedef vector< vector< Chunk > > | RawResults |
typedef Heap< Token *, TokenPointerCompare, false > | Queue |
typedef unordered_set< Token, TokenHash, TokenCompare > | TokenSet |
Public Member Functions | |
RnnLMDecoder (Decodable &decodable) | |
double | Heuristic (int nstate, int nstates, double hcost) |
VectorFst< StdArc > | WordToRnnLMFst (const vector< string > &word) |
SimpleResult | Decode (const vector< string > &word, int beam, int kMax, int nbest, double thresh, const string &gpdelim, const string &gdelim, const string &skip) |
RawResults | DecodeRaw (const vector< string > &word, int beam, int kMax, int nbest, double thresh=0.0) |
Public Attributes | |
RawResults | results |
Definition at line 164 of file RnnLMDecoder.h.
typedef D RnnLMDecoder< D >::Decodable |
Definition at line 166 of file RnnLMDecoder.h.
typedef Heap<Token*, TokenPointerCompare, false> RnnLMDecoder< D >::Queue |
Definition at line 168 of file RnnLMDecoder.h.
typedef vector<vector<Chunk> > RnnLMDecoder< D >::RawResults |
Definition at line 167 of file RnnLMDecoder.h.
typedef unordered_set<Token, TokenHash, TokenCompare> RnnLMDecoder< D >::TokenSet |
Definition at line 169 of file RnnLMDecoder.h.
|
inline |
Definition at line 171 of file RnnLMDecoder.h.
|
inline |
Definition at line 206 of file RnnLMDecoder.h.
|
inline |
Definition at line 243 of file RnnLMDecoder.h.
|
inline |
Definition at line 174 of file RnnLMDecoder.h.
|
inline |
Definition at line 181 of file RnnLMDecoder.h.
RawResults RnnLMDecoder< D >::results |
Definition at line 315 of file RnnLMDecoder.h.