cg-conv(1)
β¨ cg-conv β the manual, but make it cute β¨
okay bestie, so this is the page for cg-conv(1) β that's the cg-conv tool, section 1 of the manual. yes, the tool, not the vibe. but also the vibe. π¦
π NAME π
cg-conv β this application is part of ( cg3 )
This tool is part of the CG-3 constraint grammar system:
https://edu.visl.dk/cg3.html
like, it's not a random little script, it's part of the whole CG-3 constraint grammar situation. okay?? π
πΈ SYNOPSIS πΈ
cg-conv [OPTIONS]
that's it. that's the whole summoning ritual. just cg-conv and then OPTIONS. β¨
π DESCRIPTION π
so cg-conv is the program you use to convert a text stream between various formats. that's literally its whole job and it is so good at it, no cap.
by default it tries to auto-detect the input format and then convert that into the CG-3 stream format. icon behavior, honestly.
and the best part?? it reads from stdin and outputs to stdout, so you can just pipe stuff in and pipe stuff out like a lil legend. π«Ά
π OPTIONS π
every single one of these, fr fr. no skipping. π
-h,--helpβ shows this help-?,--?β shows this help (yes, again, the question-mark version. twins. π)-p,--prefixβ sets the mapping prefix; defaults to@-u,--in-autoβ auto-detect input format (this is the default, bestie)-c,--in-cgβ sets input format to CG-n,--in-nicelineβ sets input format to Niceline CG-a,--in-apertiumβ sets input format to Apertium-f,--in-fstβ sets input format to HFST/XFST-p,--in-plainβ sets input format to plain text-C,--out-cgβ sets output format to CG (default, the one you get if you don't say anything)-A,--out-apertiumβ sets output format to Apertium-N,--out-nicelineβ sets output format to Niceline CG-P,--out-plainβ sets output format to plain text-r,--rtlβ sets sub-reading direction to RTL (default)-l,--ltrβ sets sub-reading direction to LTR
β οΈ heads up: input flags start lowercase and output flags start uppercase, so case MATTERS.-pis lowercase,-Pis uppercase, and they are not the same thing. π¨
π SEE ALSO π
https://edu.visl.dk/cg3/chunked/streamformats.html
go read those too, they're giving lore. πβ¨
π BUGS π
Email to: Tino Didriksen <mail@tinodidriksen.com>
like, actually email him. that's the whole bugs section. direct line, iconic. π
π§ AUTHOR π§
(c) 2010-2014 GrammarSoft ApS
and that's the whole page, bestie!! this one's dated 2014-05-07 and it lives in the cg-conv(1) manual β so like, when you run man 1 cg-conv, that's where you'll find it. mwah. ππ
πΈ
π¦ where this page comes from
- debian trixie: cg3 1.5.1-1 Β· GPL-3.0-or-later
- nixos 26.05: cg3 1.5.1
- nixpkgs unstable: cg3 1.5.1
- ubuntu questing: cg3 1.5.1-1
- ubuntu resolute: cg3 1.5.1-1build2 Β· GPL-3.0-or-later
- ubuntu stonking: cg3 1.5.1-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms