1PDTREPLACE(1) User Commands PDTREPLACE(1)
2
3
4
6 pdtreplace - manual page for pdtreplace 1.8.2
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 = std::string, default = "(_"
17
18 Prefix to attach to SymbolTable labels for inserted left paren‐
19 theses --pdt_parentheses: type = std::string, default = "" PDT
20 parenthesis label pairs --pdt_parser_type: type = std::string,
21 default = "left" Construction method, one of: "left", "left_sr"
22 --right_paren_prefix: type = std::string, default = ")_" Prefix
23 to attach to SymbolTable labels for inserted right parentheses
24 --start_paren_labels: type = int64_t, 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 = std::string, de‐
36 fault = "/tmp" temporary directory --v: type = int32_t, default
37 = 0 verbosity 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_t, default = 1048576
46 Cache byte size that triggers garbage collection
47 --fst_read_mode: type = std::string, default = "read" Default
48 file reading mode for mappable files --fst_verify_properties:
49 type = bool, default = false Verify FST properties queried by
50 TestProperties --save_relabel_ipairs: type = std::string, de‐
51 fault = "" Save input relabel pairs to file --save_rela‐
52 bel_opairs: type = std::string, default = "" Save output relabel
53 pairs to file
54
55 Flags from: symbol-table.cc
56
57 --fst_compat_symbols: type = bool, default = true
58
59 Require symbol tables to match when appropriate --fst_field_sep‐
60 arator: type = std::string, default = " " Set of charac‐
61 ters used as a separator between printed fields
62
63 Flags from: util.cc
64
65 --fst_error_fatal: type = bool, default = true
66
67 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
68 FSTs: kError property set, FST weights: not a Member()
69
70 Flags from: weight.cc
71
72 --fst_weight_parentheses: type = std::string, default = ""
73
74 Characters enclosing the first weight of a printed composite
75 weight (e.g., pair weight, tuple weight and derived classes) to
76 ensure proper I/O of nested composite weights; must have size 0
77 (none) or 2 (open and close parenthesis) --fst_weight_separator:
78 type = std::string, default = "," Character separator between
79 printed composite weights; must be a single character
80
81
82
83pdtreplace 1.8.2 July 2018 PDTREPLACE(1)