FST  openfst-1.7.2
OpenFst Library
Functions
fstrandmod.cc File Reference
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <memory>
#include <string>
#include <fst/flags.h>
#include <fst/log.h>
#include <fst/extensions/compress/randmod.h>
#include <fst/fstlib.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.