Debian Codegraph @

manual/man/cg-proc.1

raw
1 .TH cg-proc 1 2014-05-07 "" ""
2 .SH NAME
3 cg-proc \- 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-proc
11 [OPTIONS] grammar_file [input_file [output_file]]
12 .SH DESCRIPTION
13 .BR cg-proc
14 is the grammar parser and disambiguator in the VISL
15 constraint grammar system. It chooses between different analyses
16 (or "readings") of a word delivered by a morphological analyser
17 based on a set of grammatical rules.
18 .PP
19 By default, cg-proc reads input from stdin and writes output
20 to stdout. The binary grammar files read by the parser are generated
21 by \fBcg\-comp(1)\fR
22 .RE
23 .SH OPTIONS
24 .TP
25 \fB\-d\fR:
26 morphological disambiguation (default behaviour)
27 .TP
28 \fB\-s\fR:
29 specify number of sections to process
30 .TP
31 \fB\-f\fR:
32 set the format of the I/O stream to NUM,
33 .IP
34 where `0' is VISL format and `1' is
35 Apertium format (default: 1)
36 .TP
37 \fB\-r\fR:
38 run only the named rule
39 .TP
40 \fB\-t\fR:
41 print debug output on stderr
42 .TP
43 \fB\-w\fR:
44 enforce surface case on lemma/baseform
45 .IP
46 (to work with \fB\-w\fR option of lt\-proc)
47 .TP
48 \fB\-n\fR:
49 do not print out the word form of each cohort
50 .TP
51 \fB\-1\fR:
52 only output the first analysis if ambiguity remains
53 .TP
54 \fB\-z\fR:
55 flush output on the null character
56 .TP
57 \fB\-v\fR:
58 version
59 .TP
60 \fB\-h\fR:
61 show this help
62 .RS
63 .SH SEE ALSO
64 .I cg-comp\fR(1),
65 .I vislcg3\fR(1)
66 .SH BUGS
67 Email to: Tino Didriksen <[email protected]>
68 .SH AUTHOR
69 (c) 2007-2025 GrammarSoft ApS
70