1farcompilestrings(1) User Commands farcompilestrings(1)
2
3
4
6 farcompilestrings - store compiled FSTs in a finite-state archive
7
9 farcompilestrings [OPTIONS] in.txt... out.far
10
12 Compiles a set of strings as FSTs and stores them in a finite-state ar‐
13 chive.
14
16 Boolean options accept either true or false as a value, or the implicit
17 value true if neither value is specified.
18
19 --allow_negative_labels[=BOOLEAN]
20 Allow negative labels (not recommended; may cause conflicts).
21 Default: false.
22
23 --file_list_input[=BOOLEAN]
24 Each input file contains a list of files to be processed.
25 Default: false.
26
27 --fst_compat_symbols[=BOOLEAN]
28 Require symbol tables to match when appropriate. Default: true.
29
30 --fst_default_cache_gc[=BOOLEAN]
31 Enable garbage collection of cache. Default: true.
32
33 --fst_verify_properties[=BOOLEAN]
34 Verify fst properties queried by TestProperties. Default:
35 false.
36
37 --help Show usage information.
38
39 --arc_type=TYPE
40 Set the output arc type. Default: standard.
41
42 --entry_type=TYPE
43 Set the entry type, either file (one FST per file) or line (one
44 FST per line). Default: line.
45
46 --far_type=TYPE
47 Set the FAR file format. Default: default.
48
49 --fst_field_separator=STRING
50 Set the characters used as a separator between printed fields.
51 Default: " ".
52
53 --fst_type=TYPE
54 Set the output FST type. Default: vector.
55
56 --fst_weight_parentheses=STRING
57 Set the characters enclosing the first weight of a printed com‐
58 posite weight (e.g., pair weight, tuple weight, and derived
59 classes) to ensure proper I/O of nested composite weights. Must
60 have size 0 (none) or 2 (open and close parenthesis). Default:
61 no parentheses.
62
63 --fst_weight_separator=CHARACTER
64 Set the character separator between printed composite weights.
65 Default: comma.
66
67 --key_prefix=STRING
68 Set the prefix to prepend to keys. Default: no prefix.
69
70 --key_suffix=STRING
71 Set the suffix to append to keys. Default: no suffix.
72
73 --save_relabel_ipairs=FILENAME
74 Save input relabel pairs to file. Default: do not save.
75
76 --save_relabel_opairs=FILENAME
77 Save output relabel pairs to file. Default: do not save.
78
79 --symbols=FILENAME
80 Read the label symbol table from a file. Default: do not read a
81 table.
82
83 --tmpdir=PATHNAME
84 Set the temporary directory to use. Default: /tmp.
85
86 --token_type=TYPE
87 Set the token type, one of symbol, byte, or utf8. Default: sym‐
88 bol.
89
90 --generate_keys=N
91 Generate N digit numeric keys. Default: use file basenames.
92
93 --v[=N]
94 Set the verbosity level. Default: 0.
95
96 --fst_default_cache_gc_limit=N
97 Set the cache byte size that triggers garbage collection.
98 Default: 1048576.
99
101 farcreate(1), farextract(1), farinfo(1), farprintstrings(1)
102
103
104
105OpenFst 1.2.7 February 2011 farcompilestrings(1)