[go: up one dir, main page]

File: lt-comp.1

package info (click to toggle)
lttoolbox 3.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,328 kB
  • sloc: cpp: 12,761; ansic: 3,589; python: 391; makefile: 71; sh: 24
file content (97 lines) | stat: -rw-r--r-- 2,312 bytes parent folder | download
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
.TH lt-comp 1 2006-03-08 "" ""
.SH NAME
lt-comp \- This application is part of the lexical processing modules
and tools (
.B lttoolbox
)
.PP
This tool is part of the apertium machine translation
architecture: \fBhttp://www.apertium.org\fR.
.SH SYNOPSIS
.B lt-comp
[
.B \-a \fR|
.B \-v \fR|
.B \-l \fR|
.B \-r \fR|
.B \-h
]
[
.B lr \fR|
.B rl
] dictionary_file output_file [acx_file]
.PP
.B lt-comp
[
.B \-\-alt \fR|
.B \-\-var \fR|
.B \-\-var\-left \fR|
.B \-\-var\-right \fR|
.B \-\-help
]
[
.B lr \fR|
.B rl
] dictionary_file output_file [acx_file]
.PP
.SH DESCRIPTION
.BR lt-comp
Is the application responsible of compiling dictionaries used by
\fBlt-proc\fR in \fIApertium\fR into a compact and efficient
representation (a class of finite-state transducers called augmented
letter transducers).
.PP
.SH OPTIONS
.TP
.B \-a, \-\-alt
Sets the value of the \fIalt\fR attribute to use in compilation.

Note that if no value is set, all entries containing an \fIalt\fR
attribute are omitted.
.TP
.B \-v, \-\-var
Sets the value of the \fIv\fR attribute to use in compilation.
This should only be used with monodixes; for bidixes, see \-l and \-r.

Note that if no value is set, all entries containing a \fIv\fR
attribute are considered to be \fIleft-to-right\fR.
.TP
.B \-l, \-\-var\-left
Sets the value of the \fIvl\fR attribute for use in compilation of bidixes.
"Left" here refers to the side of the dictionary, so this option is only valid
in \fIrl\fR mode.
.TP
.B \-r, \-\-var\-right
Sets the value of the \fIvr\fR attribute for use in compilation of bidixes.
"Right" here refers to the side of the dictionary, so this option is only valid
in \fIlr\fR mode.
.TP
.B \-h, \-\-help
Prints a short help message
.TP
.B lr
The resulting transducer will process dictionary entries
\fIleft-to-right\fR.
.TP
.B rl
The resulting transducer will process dictionary entries
\fIright-to-left\fR.
.SH FILES
.B dictionary_file
The input dictionary.
.PP
.B output_file
The compiled dictionary (a finite state transducer).
.PP
.B acx_file
Optional XML file of equivalent characters in monodices.

.SH SEE ALSO
.I lt-proc\fR(1),
.I lt-expand\fR(1),
.I apertium-tagger\fR(1),
.I apertium\fR(1).
.SH BUGS
Lots of...lurking in the dark and waiting for you!
.SH AUTHOR
(c) 2005,2006 Universitat d'Alacant / Universidad de Alicante.