Files
rdb/man/uniondict.man
T

56 lines
1.0 KiB
Groff

.TH uniondict "" "" "/rdb Command"
.PC "Combine three tables into translation dictionary"
\fBuniondict \fIlangtolang \fB> \fIdefinefile\fR
.PP
.II m4
.II "table^convert to m4"
.II "define file"
The command
.B uniondict
creates an
.B m4
define-file out of three tables.
.I langtolang
is a two-letter code that indicates which language is being translated
to which; for example,
.B ed
stands for ``English to German'' (Deutsch).
.PP
.B uniondict
expects one table of lower-case letters, such as
.BR ed.low ,
and one of all capital letters, such as
.BR ed.allcap ,
and builds its own table with initial capitals.
Finally
.B uniondict
uses the
.B /rdb
command
.B tabletom4
to create a definefile for
.BR m4 .
.SH Example
To generate a definefile for English-to-German translation, type the command:
.DM
uniondict ed
.DE
.PP
If the two precursor files already exist, then this command generates
a new file named
.B ed
that can be used by
.BR translate .
.SH "See Also"
.B
tabletom4,
translate,
word
.R
.br
COHERENT Lexicon:
.B
m4
.R
.SO uniondict