fstdraw man page

fstdraw — manual page for fstdraw 1.6.9

Description

Prints out binary FSTs in dot text format.

Usage: fstdraw [binary.fst [text.dot]]

PROGRAM FLAGS:

--acceptor: type = bool, default = false

Input in acceptor format --allow_negative_labels: type = bool, default = false Allow negative labels (not recommended; may cause conflicts) --float_format: type = string, default = "g" Floating-point format, one of: "e", "f", or "g" --fontsize: type = int32, default = 14 Set fontsize --height: type = double, default = 11 Set height --isymbols: type = string, default = "" Input label symbol table --nodesep: type = double, default = 0.25 Set minimum separation between nodes (see dot documentation) --numeric: type = bool, default = false Print numeric labels --osymbols: type = string, default = "" Output label symbol table --portrait: type = bool, default = false Portrait mode (def: landscape) --precision: type = int32, default = 5 Set precision (number of char/float) --ranksep: type = double, default = 0.4 Set minimum separation between ranks (see dot documentation) --show_weight_one: type = bool, default = false Print/draw arc weights and final weights equal to Weight::One() --ssymbols: type = string, default = "" State label symbol table --title: type = string, default = "" Set figure title --vertical: type = bool, default = false Draw bottom-to-top instead of left-to-right --width: type = double, default = 8.5 Set width

LIBRARY FLAGS:

Flags from: flags.cc

--help: type = bool, default = false

show usage information --helpshort: type = bool, default = false show brief usage information --tmpdir: type = string, default = "/tmp" temporary directory --v: type = int32, default = 0 verbosity level

Flags from: fst.cc

--fst_align: type = bool, default = false

Write FST data aligned where appropriate --fst_default_cache_gc: type = bool, default = true Enable garbage collection of cache --fst_default_cache_gc_limit: type = int64, default = 1048576 Cache byte size that triggers garbage collection --fst_read_mode: type = string, default = "read" Default file reading mode for mappable files --fst_verify_properties: type = bool, default = false Verify FST properties queried by TestProperties --save_relabel_ipairs: type = string, default = "" Save input relabel pairs to file --save_relabel_opairs: type = string, default = "" Save output relabel pairs to file

Flags from: symbol-table.cc

--fst_compat_symbols: type = bool, default = true

Require symbol tables to match when appropriate --fst_field_separator: type = string, default = "      " Set of characters used as a separator between printed fields

Flags from: util.cc

--fst_error_fatal: type = bool, default = true

FST errors are fatal; o.w. return objects flagged as bad: e.g., FSTs: kError property set, FST weights: not a Member()

Flags from: weight.cc

--fst_weight_parentheses: type = string, default = ""

Characters enclosing the first weight of a printed composite weight (e.g., pair weight, tuple weight and derived classes) to ensure proper I/O of nested composite weights; must have size 0 (none) or 2 (open and close parenthesis) --fst_weight_separator: type = string, default = "," Character separator between printed composite weights; must be a single character

Info

July 2018 fstdraw 1.6.9 User Commands