#include <cstring>
#include <string>
#include <fst/flags.h>
#include <fst/log.h>
#include <fst/fst.h>
#include <fst/properties.h>
#include <fst/vector-fst.h>
#include <sfst/approx.h>
#include <sfst/ngramapprox.h>
#include <sfst/normalize.h>
Go to the source code of this file.
|
| DEFINE_int64 (order, 3,"Set maximal order of ngram model") |
|
| DEFINE_int64 (phi_label, 0,"Specifies failure label (default: 0)") |
|
| DEFINE_double (delta, sfst::kApproxDelta,"Convergence delta") |
|
| DEFINE_string (norm_type,"kl_min","Normalization type, one of: ""\"summed\", \"kl_min\", \"kl_min_approximated") |
|
int | main (int argc, char **argv) |
|
DEFINE_int64 |
( |
order |
, |
|
|
3 |
, |
|
|
"Set maximal order of ngram model" |
|
|
) |
| |
DEFINE_int64 |
( |
phi_label |
, |
|
|
0 |
, |
|
|
"Specifies failure label (default: 0)" |
|
|
) |
| |
DEFINE_string |
( |
norm_type |
, |
|
|
"kl_min" |
, |
|
|
"Normalization |
type, |
|
|
one of:""\"summed\" |
, |
|
|
\"kl_min\" |
, |
|
|
\"kl_min_approximated" |
|
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |