1PDTREPLACE(1) User Commands PDTREPLACE(1)
2
3
4
6 pdtreplace - manual page for pdtreplace 1.6.9
7
9 Converts an RTN represented by FSTs and non-terminal labels into PDT.
10
11 Usage: pdtreplace root.fst rootlabel [rule1.fst label1 ...]
12 [out.fst]
13
14 PROGRAM FLAGS:
15
16 --left_paren_prefix: type = string, default = "(_"
17
18 Prefix to attach to SymbolTable labels for inserted left paren‐
19 theses --pdt_parentheses: type = string, default = "" PDT paren‐
20 thesis label pairs --pdt_parser_type: type = string, default =
21 "left" Construction method, one of: "left", "left_sr"
22 --right_paren_prefix: type = string, default = ")_" Prefix to
23 attach to SymbolTable labels for inserted right parentheses
24 --start_paren_labels: type = int64, default = -1 Index to use
25 for the first inserted parentheses; if not specified, the next
26 available label beyond the highest output label is used
27
28 LIBRARY FLAGS:
29
30 Flags from: flags.cc
31
32 --help: type = bool, default = false
33
34 show usage information --helpshort: type = bool, default = false
35 show brief usage information --tmpdir: type = string, default =
36 "/tmp" temporary directory --v: type = int32, default = 0 ver‐
37 bosity level
38
39 Flags from: fst.cc
40
41 --fst_align: type = bool, default = false
42
43 Write FST data aligned where appropriate --fst_default_cache_gc:
44 type = bool, default = true Enable garbage collection of cache
45 --fst_default_cache_gc_limit: type = int64, default = 1048576
46 Cache byte size that triggers garbage collection
47 --fst_read_mode: type = string, default = "read" Default file
48 reading mode for mappable files --fst_verify_properties: type =
49 bool, default = false Verify FST properties queried by TestProp‐
50 erties --save_relabel_ipairs: type = string, default = "" Save
51 input relabel pairs to file --save_relabel_opairs: type =
52 string, default = "" Save output relabel pairs to file
53
54 Flags from: symbol-table.cc
55
56 --fst_compat_symbols: type = bool, default = true
57
58 Require symbol tables to match when appropriate --fst_field_sep‐
59 arator: type = string, default = " " Set of characters used
60 as a separator between printed fields
61
62 Flags from: util.cc
63
64 --fst_error_fatal: type = bool, default = true
65
66 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
67 FSTs: kError property set, FST weights: not a Member()
68
69 Flags from: weight.cc
70
71 --fst_weight_parentheses: type = string, default = ""
72
73 Characters enclosing the first weight of a printed composite
74 weight (e.g., pair weight, tuple weight and derived classes) to
75 ensure proper I/O of nested composite weights; must have size 0
76 (none) or 2 (open and close parenthesis) --fst_weight_separator:
77 type = string, default = "," Character separator between printed
78 composite weights; must be a single character
79
80
81
82pdtreplace 1.6.9 July 2018 PDTREPLACE(1)