| 1 |
.TH cg-conv 1 2014-05-07 "" "" |
| 2 |
.SH NAME |
| 3 |
cg-conv \- This application is part of ( |
| 4 |
.B cg3 |
| 5 |
) |
| 6 |
.PP |
| 7 |
This tool is part of the CG-3 |
| 8 |
constraint grammar system: \fBhttps://edu.visl.dk/cg3.html\fR. |
| 9 |
.SH SYNOPSIS |
| 10 |
.B cg-conv |
| 11 |
[OPTIONS] |
| 12 |
.SH DESCRIPTION |
| 13 |
.BR cg-conv |
| 14 |
is the program used to convert a text stream between various formats. |
| 15 |
By default it tries to auto-detect the input format and convert that to the |
| 16 |
CG-3 stream format. |
| 17 |
It will read from stdin and output to stdout. |
| 18 |
.RE |
| 19 |
.SH OPTIONS |
| 20 |
.TP |
| 21 |
\fB\-h\fR, \fB\-\-help\fR |
| 22 |
shows this help |
| 23 |
.TP |
| 24 |
\-?, \fB\-\-\fR? |
| 25 |
shows this help |
| 26 |
.TP |
| 27 |
\fB\-p\fR, \fB\-\-prefix\fR |
| 28 |
sets the mapping prefix; defaults to @ |
| 29 |
.TP |
| 30 |
\fB\-u\fR, \fB\-\-in\-auto\fR |
| 31 |
auto\-detect input format (default) |
| 32 |
.TP |
| 33 |
\fB\-c\fR, \fB\-\-in\-cg\fR |
| 34 |
sets input format to CG |
| 35 |
.TP |
| 36 |
\fB\-n\fR, \fB\-\-in\-niceline\fR |
| 37 |
sets input format to Niceline CG |
| 38 |
.TP |
| 39 |
\fB\-a\fR, \fB\-\-in\-apertium\fR |
| 40 |
sets input format to Apertium |
| 41 |
.TP |
| 42 |
\fB\-f\fR, \fB\-\-in\-fst\fR |
| 43 |
sets input format to HFST/XFST |
| 44 |
.TP |
| 45 |
\fB\-p\fR, \fB\-\-in\-plain\fR |
| 46 |
sets input format to plain text |
| 47 |
.TP |
| 48 |
\fB\-C\fR, \fB\-\-out\-cg\fR |
| 49 |
sets output format to CG (default) |
| 50 |
.TP |
| 51 |
\fB\-A\fR, \fB\-\-out\-apertium\fR |
| 52 |
sets output format to Apertium |
| 53 |
.TP |
| 54 |
\fB\-N\fR, \fB\-\-out\-niceline\fR |
| 55 |
sets output format to Niceline CG |
| 56 |
.TP |
| 57 |
\fB\-P\fR, \fB\-\-out\-plain\fR |
| 58 |
sets output format to plain text |
| 59 |
.TP |
| 60 |
\fB\-r\fR, \fB\-\-rtl\fR |
| 61 |
sets sub\-reading direction to RTL (default) |
| 62 |
.TP |
| 63 |
\fB\-l\fR, \fB\-\-ltr\fR |
| 64 |
sets sub\-reading direction to LTR |
| 65 |
.RS |
| 66 |
.SH SEE ALSO |
| 67 |
.I vislcg3\fR(1), |
| 68 |
https://edu.visl.dk/cg3/chunked/streamformats.html |
| 69 |
.SH BUGS |
| 70 |
Email to: Tino Didriksen <[email protected]> |
| 71 |
.SH AUTHOR |
| 72 |
(c) 2010-2014 GrammarSoft ApS |