Functions

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

fstcompile.cc More...

#include <fst/script/compile.h>
Include dependency graph for fstcompile.cc:

Go to the source code of this file.

Functions

 DEFINE_bool (acceptor, false,"Input in acceptor format")
 DEFINE_string (arc_type,"standard","Output arc type")
 DEFINE_string (fst_type,"vector","Output FST type")
 DEFINE_string (isymbols,"","Input label symbol table")
 DEFINE_string (osymbols,"","Output label symbol table")
 DEFINE_string (ssymbols,"","State label symbol table")
 DEFINE_bool (keep_isymbols, false,"Store input label symbol table with FST")
 DEFINE_bool (keep_osymbols, false,"Store output label symbol table with FST")
 DEFINE_bool (keep_state_numbering, false,"Do not renumber input states")
 DEFINE_bool (allow_negative_labels, false,"Allow negative labels (not recommended; may cause conflicts)")
int main (int argc, char **argv)

Detailed Description

fstcompile.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

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

Definition in file fstcompile.cc.


Function Documentation

DEFINE_bool ( acceptor  ,
false  ,
"Input in acceptor format"   
)
DEFINE_bool ( keep_osymbols  ,
false  ,
"Store output label symbol table with FST"   
)
DEFINE_bool ( keep_state_numbering  ,
false  ,
"Do not renumber input states"   
)
DEFINE_bool ( allow_negative_labels  ,
false  ,
"Allow negative labels (not recommended; may cause conflicts)"   
)
DEFINE_bool ( keep_isymbols  ,
false  ,
"Store input label symbol table with FST"   
)
DEFINE_string ( fst_type  ,
"vector"  ,
"Output FST type"   
)
DEFINE_string ( arc_type  ,
"standard"  ,
"Output arc type"   
)
DEFINE_string ( osymbols  ,
""  ,
"Output label symbol table"   
)
DEFINE_string ( isymbols  ,
""  ,
"Input label symbol table"   
)
DEFINE_string ( ssymbols  ,
""  ,
"State label symbol table"   
)
int main ( int  argc,
char **  argv 
)

Definition at line 37 of file fstcompile.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines