#include <cstring>
#include <string>
#include <fst/flags.h>
#include <fst/log.h>
#include <fst/fst.h>
#include <fst/vector-fst.h>
#include <sfst/intersect.h>
#include <sfst/trim.h>
Go to the source code of this file.
|
| DEFINE_int64 (phi_label, fst::kNoLabel,"Specifies failure label (default: none)") |
|
| DEFINE_bool (trim, true,"Removes useless states and transitions") |
|
| DEFINE_string (trim_type,"needed_final","Trim type, one of: ""\"needed_trim\", \"needed_final\", ""\"needed_nonfinal") |
|
int | main (int argc, char **argv) |
|
DEFINE_bool |
( |
trim |
, |
|
|
true |
, |
|
|
"Removes useless states and transitions" |
|
|
) |
| |
DEFINE_int64 |
( |
phi_label |
, |
|
|
fst::kNoLabel |
, |
|
|
"Specifies failure label (default: none)" |
|
|
) |
| |
DEFINE_string |
( |
trim_type |
, |
|
|
"needed_final" |
, |
|
|
"Trim |
type, |
|
|
one of:""\"needed_trim\" |
, |
|
|
\"needed_final\" |
, |
|
|
""\"needed_nonfinal" |
|
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |