1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
|
.TH PHONETISAURUS "1" "February 2013" "phonetisaurus 0.7.8" "User Commands"
.SH NAME
phonetisaurus-g2p \- Grapheme\-to\-phoneme transducer
.SH SYNOPSIS
\fBphonetisaurus\-g2p\fR \-\-model=\fIg2p-model.fst\fR [\fIOPTIONS\fR]
.SH DESCRIPTION
\fBphonetisaurus\-g2p\fR
This tool performs Grapheme\-to\-Phoneme (G2P) or Phoneme\-to\-Grapheme
(P2G) conversion. If G2P is performed, the tool provides the most
probable pronunciations for provided words. If P2G is performed, the
tool provides most probable orthografic transcription of a word, given
its pronounce.
.SH OPTIONS
.HP
\fB\-\-help\fR=<\fIbool\fR> (default: false)
.IP
show usage information
.HP
\fB\-\-helpshort\fR=<\fIbool\fR> (default: false)
.IP
show brief usage information
.HP
\fB\-\-tmpdir\fR=<\fIstring\fR> (default: "/tmp/")
.IP
temporary directory
.HP
\fB\-\-v\fR=<\fIint32\fR> (default: 0)
.IP
verbose level
.HP
\fB\-\-fst_align\fR=<\fIbool\fR> (default: false)
.IP
Write FST data aligned where appropriate
.HP
\fB\-\-fst_default_cache_gc\fR=<\fIbool\fR> (default: true)
.IP
Enable garbage collection of cache
.HP
\fB\-\-fst_default_cache_gc_limit\fR=<\fIint64\fR> (default: 1048576)
.IP
Cache byte size that triggers garbage collection
.HP
\fB\-\-fst_verify_properties\fR=<\fIbool\fR> (default: false)
.IP
Verify fst properties queried by TestProperties
.HP
\fB\-\-fst_weight_parentheses\fR=<\fIstring\fR> (default: "")
.IP
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)
.HP
\fB\-\-fst_weight_separator\fR=<\fIstring\fR> (default: "")
.IP
Character separator between printed composite weights; must be a single character
.HP
\fB\-\-save_relabel_ipairs\fR=<\fIstring\fR> (default: "")
.IP
Save input relabel pairs to file
.HP
\fB\-\-save_relabel_opairs\fR=<\fIstring\fR> (default: "")
.IP
Save output relabel pairs to file
\fB\-\-alpha\fR=<\fIdouble\fR> (default: 0.6)
.IP
The alpha LM scale factor for the LMBR decoder.
.HP
\fB\-\-beam\fR=<\fIint32\fR> (default: 500)
.IP
N\-best search beam.
.HP
\fB\-\-input\fR=<\fIstring\fR> (default: "")
.IP
A word or test file.
.HP
\fB\-\-isfile\fR=<\fIbool\fR> (default: false)
.IP
\&'\-\-input' is a file.
.HP
\fB\-\-mbr\fR=<\fIbool\fR> (default: false)
.IP
Use the Lattice Minimum Bayes\-Risk decoder
.HP
\fB\-\-model\fR=<\fIstring\fR> (default: "")
.IP
The input WFST G2P model.
.HP
\fB\-\-nbest\fR=<\fIint32\fR> (default: 1)
.IP
Print out the N\-best pronunciations.
.HP
\fB\-\-order\fR=<\fIint32\fR> (default: 6)
.IP
The N\-gram order for the MBR decoder.
.HP
\fB\-\-prec\fR=<\fIdouble\fR> (default: 0.85)
.IP
The N\-gram precision factor for the LMBR decoder.
.HP
\fB\-\-ratio\fR=<\fIdouble\fR> (default: 0.72)
.IP
The N\-gram ratio factor for the LMBR decoder.
.HP
\fB\-\-sep\fR=<\fIstring\fR> (default: "")
.IP
Separator token for input words.
.HP
\fB\-\-words\fR=<\fIbool\fR> (default: false)
.IP
Output words with hypotheses.
.HP
\fB\-\-fst_compat_symbols\fR=<\fIbool\fR> (default: true)
.IP
Require symbol tables to match when appropriate
.HP
\fB\-\-fst_field_separator\fR=<\fIstring\fR> (default: " ")
.IP
Set of characters used as a separator between printed fields
.HP
\fB\-\-fst_error_fatal\fR=<\fIbool\fR> (default: true)
.IP
FST errors are fatal; o.w. return objects flagged as bad:
e.g., FSTs \- kError prop. true, FST weights \- not a Member()
|