1fstmap(1)                        User Commands                       fstmap(1)
2
3
4

NAME

6       fstmap - map an operation over an FST
7

SYNOPSIS

9       fstmap [OPTIONS] [in.fst [out.fst]]
10

DESCRIPTION

12       Applies an operation to each arc of an FST.
13

OPTIONS

15       Boolean options accept either true or false as a value, or the implicit
16       value true if neither value is specified.
17
18       --fst_compat_symbols[=BOOLEAN]
19              Require symbol tables to match when appropriate.  Default: true.
20
21       --fst_default_cache_gc[=BOOLEAN]
22              Enable garbage collection of cache.  Default: true.
23
24       --fst_verify_properties[=BOOLEAN]
25              Verify  fst  properties  queried  by  TestProperties.   Default:
26              false.
27
28       --help Show usage information.
29
30       --fst_field_separator=STRING
31              Set  the  characters used as a separator between printed fields.
32              Default: "     ".
33
34       --fst_weight_parentheses=STRING
35              Set the characters enclosing the first weight of a printed  com‐
36              posite  weight  (e.g.,  pair  weight,  tuple weight, and derived
37              classes) to ensure proper I/O of nested composite weights.  Must
38              have  size 0 (none) or 2 (open and close parenthesis).  Default:
39              no parentheses.
40
41       --fst_weight_separator=CHARACTER
42              Set the character separator between printed  composite  weights.
43              Default: comma.
44
45       --map_type=TYPE
46              Set  the map operation, one of identity, invert, plus, quantize,
47              rmweight, superfinal, and times.  Default: identity.
48
49       --save_relabel_ipairs=FILENAME
50              Save input relabel pairs to file.  Default: do not save.
51
52       --save_relabel_opairs=FILENAME
53              Save output relabel pairs to file.  Default: do not save.
54
55       --tmpdir=PATHNAME
56              Set the temporary directory to use.  Default: /tmp.
57
58       --weight=VALUE
59              Set the weight for a plus or times operation.  Default: "".
60
61       --v[=N]
62              Set the verbosity level.  Default: 0.
63
64       --fst_default_cache_gc_limit=N
65              Set the  cache  byte  size  that  triggers  garbage  collection.
66              Default: 1048576.
67
68       --delta=VALUE
69              Set  the comparison/quantization delta for a quantize operation.
70              Default: 0.000976562.
71

SEE ALSO

73       fstarcsort(1),  fstclosure(1),  fstcompile(1),  fstcompose(1),  fstcon‐
74       cat(1),  fstconnect(1),  fstconvert(1),  fstdeterminize(1),  fstdiffer‐
75       ence(1),  fstdraw(1),  fstencode(1),  fstepsnormalize(1),  fstequal(1),
76       fstequivalent(1),  fstinfo(1),  fstintersect(1), fstinvert(1), fstmini‐
77       mize(1), fstprint(1), fstproject(1), fstprune(1), fstpush(1),  fstrand‐
78       gen(1),  fstrelabel(1),  fstreplace(1),  fstreverse(1), fstreweight(1),
79       fstrmepsilon(1),  fstshortestdistance(1),  fstshortestpath(1),  fstsym‐
80       bols(1), fstsynchronize(1), fsttopsort(1), fstunion(1)
81
82
83
84OpenFst 1.2.7                    February 2011                       fstmap(1)
Impressum