FST  openfst-1.6.1
OpenFst Library
Functions
fstrandmod.cc File Reference
#include <cstdlib>
#include <ctime>
#include <memory>
#include <string>
#include <fst/extensions/compress/randmod.h>
#include <fst/log.h>
#include <fst/fstlib.h>
#include <fst/util.h>
Include dependency graph for fstrandmod.cc:

Go to the source code of this file.

Functions

 DEFINE_int32 (seed, time(0),"Random seed")
 
 DEFINE_int32 (states, 10,"# of states")
 
 DEFINE_int32 (labels, 2,"# of labels")
 
 DEFINE_int32 (classes, 1,"# of probability distributions")
 
 DEFINE_bool (transducer, false,"Output a transducer")
 
 DEFINE_bool (weights, false,"Output a weighted FST")
 
int main (int argc, char **argv)
 

Function Documentation

DEFINE_bool ( transducer  ,
false  ,
"Output a transducer"   
)
DEFINE_bool ( weights  ,
false  ,
"Output a weighted FST"   
)
DEFINE_int32 ( seed  ,
time(0)  ,
"Random seed"   
)
DEFINE_int32 ( states  ,
10  ,
"# of states"   
)
DEFINE_int32 ( labels  ,
,
"# of labels"   
)
DEFINE_int32 ( classes  ,
,
"# of probability distributions"   
)
int main ( int  argc,
char **  argv 
)

Definition at line 24 of file fstrandmod.cc.