Phonetisaurus
1.0
FST-based Grapheme-to-Phoneme conversion
|
#include <fst/fstlib.h>
#include "LegacyRnnLMHash.h"
#include "RnnLMDecoder.h"
#include "LegacyRnnLMDecodable.h"
#include "LegacyRnnLMReader.h"
Go to the source code of this file.
Typedefs | |
typedef std::unordered_map< int, std::vector< int > > | FMAP |
typedef LegacyRnnLMDecodable< Token, LegacyRnnLMHash > | Decodable |
Functions | |
template<class H > | |
void | LoadFeatureConf (const H &h, FMAP *fmap, std::string &featurefilename) |
DEFINE_string (rnnlm,"","The input RnnLM model.") | |
DEFINE_string (feats,"","Auxiliary features conf file.") | |
int | main (int argc, char *argv[]) |
typedef LegacyRnnLMDecodable<Token, LegacyRnnLMHash> Decodable |
Definition at line 40 of file feature-reader.cc.
typedef std::unordered_map<int, std::vector<int> > FMAP |
Definition at line 9 of file feature-reader.cc.
DEFINE_string | ( | rnnlm | , |
"" | , | ||
"The input RnnLM model." | |||
) |
DEFINE_string | ( | feats | , |
"" | , | ||
"Auxiliary features conf file." | |||
) |
void LoadFeatureConf | ( | const H & | h, |
FMAP * | fmap, | ||
std::string & | featurefilename | ||
) |
Definition at line 12 of file feature-reader.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 44 of file feature-reader.cc.