aboutsummaryrefslogtreecommitdiff
path: root/gfsm/gfsm/src/programs/gfsmviterbi.gog
blob: 827d26e205135c604e502d770b69c7bb0059ea62 (plain)
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
# -*- Mode: Shell-Script -*-
#
# Getopt::Gen specification
#-----------------------------------------------------------------------------
program "gfsmviterbi"
#program_version "0.01"

purpose	"EXPERIMENTAL: Compute Viterbi trellis for a linear label sequence in a transducer"
author  "Bryan Jurish <moocow@ling.uni-potsdam.de>"
on_reparse "warn"

#-----------------------------------------------------------------------------
# Details
#-----------------------------------------------------------------------------
details ""

#-----------------------------------------------------------------------------
# Files
#-----------------------------------------------------------------------------
#rcfile "/etc/mootrc"
#rcfile "~/.mootrc"

#-----------------------------------------------------------------------------
# Arguments
#-----------------------------------------------------------------------------
argument "LABELID..." "Input label IDs" \
    details="
In ASCII decimal notation.
"

#-----------------------------------------------------------------------------
# Options
#-----------------------------------------------------------------------------
#group "Basic Options"

string "fst" f "Weighted transducer to apply (default=stdin)." \
    arg="FSTFILE" \
    default="-" \
    details="
If unspecified, standard input will be read.
"

int "compress" z "Specify compression level of output file." \
    arg="LEVEL" \
    default="-1" \
    details="
Specify zlib compression level of output file. -1 (default) indicates
the default compression level, 0 (zero) indicates no zlib compression at all,
and 9 indicates the best possible compression.
"

string "output" F "Specifiy output file (default=stdout)." \
    arg="FILE" \
    default="-"

#-----------------------------------------------------------------------------
# Addenda
#-----------------------------------------------------------------------------
#addenda ""

#-----------------------------------------------------------------------------
# Bugs
#-----------------------------------------------------------------------------
bugs "

=over 4

=item

No negative-cost epsilon cycles are allowed in the transducer.

=item

The Viterbi API, the existence of the gfsmviterbi command-line program,
its arguments & optiosn, etc. are HIGHLY UNSTABLE.

=back

"

#-----------------------------------------------------------------------------
# Footer
#-----------------------------------------------------------------------------
#acknowledge `cat acknowledge.pod`

seealso "
L<gfsmutils>
"