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

purpose	"Serialize binary acyclic gfsm files to lists of strings"
author  "Bryan Jurish <moocow@ling.uni-potsdam.de>"
on_reparse "warn"

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

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

#-----------------------------------------------------------------------------
# Arguments
#-----------------------------------------------------------------------------
argument "BINFILE" "Stored binary gfsm file" \
    details="
If unspecified, standard input will be read.
"

#-----------------------------------------------------------------------------
# Common Options
#-----------------------------------------------------------------------------
group "Common Options"

string "ilabels" i "Specify input (lower) labels file." \
   arg="LABELS"

string "olabels" o "Specify output (upper) labels file." \
   arg="LABELS"

flag "att" a "Output in AT&T regex format." \
   default=0

flag "viterbi" v "Treat input automaton as a Viterbi trellis." \
   default=0

string "output"  F "Output file." \
   arg="TXTFILE" \
   details="
Default behavior is to write to stdout.
"


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

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

None known.

"

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

seealso "
L<gfsmutils>,
"