Functions

openfst-1.2.6/src/bin/fstprint.cc File Reference

fstprint.cc More...

#include <fst/script/print.h>
Include dependency graph for fstprint.cc:

Go to the source code of this file.

Functions

 DEFINE_bool (acceptor, false,"Input in acceptor format")
 DEFINE_string (isymbols,"","Input label symbol table")
 DEFINE_string (osymbols,"","Output label symbol table")
 DEFINE_string (ssymbols,"","State label symbol table")
 DEFINE_bool (numeric, false,"Print numeric labels")
 DEFINE_string (save_isymbols,"","Save input symbol table to file")
 DEFINE_string (save_osymbols,"","Save output symbol table to file")
 DEFINE_bool (show_weight_one, false,"Print/draw arc weights and final weights equal to Weight::One()")
 DEFINE_bool (allow_negative_labels, false,"Allow negative labels (not recommended; may cause conflicts)")
int main (int argc, char **argv)

Detailed Description

fstprint.cc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2005-2010 Google, Inc. Author: riley@google.com (Michael Riley) Modified: jpr@google.com (Jake Ratkiewicz) to use FstClass

Prints out binary FSTs in simple text format used by AT&T (see http://www.research.att.com/projects/mohri/fsm/doc4/fsm.5.html).

Definition in file fstprint.cc.


Function Documentation

DEFINE_bool ( acceptor  ,
false  ,
"Input in acceptor format"   
)
DEFINE_bool ( numeric  ,
false  ,
"Print numeric labels"   
)
DEFINE_bool ( show_weight_one  ,
false  ,
"Print/draw arc weights and final weights equal to Weight::One()"   
)
DEFINE_bool ( allow_negative_labels  ,
false  ,
"Allow negative labels (not recommended; may cause conflicts)"   
)
DEFINE_string ( save_osymbols  ,
""  ,
"Save output symbol table to file"   
)
DEFINE_string ( save_isymbols  ,
""  ,
"Save input symbol table to file"   
)
DEFINE_string ( isymbols  ,
""  ,
"Input label symbol table"   
)
DEFINE_string ( ssymbols  ,
""  ,
"State label symbol table"   
)
DEFINE_string ( osymbols  ,
""  ,
"Output label symbol table"   
)
int main ( int  argc,
char **  argv 
)

Definition at line 37 of file fstprint.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines