Phonetisaurus  1.0
FST-based Grapheme-to-Phoneme conversion
Typedefs | Functions
feature-reader.cc File Reference
#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, LegacyRnnLMHashDecodable
 

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 Documentation

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.

Function Documentation

DEFINE_string ( rnnlm  ,
""  ,
"The input RnnLM model."   
)
DEFINE_string ( feats  ,
""  ,
"Auxiliary features conf file."   
)
template<class H >
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.