cg-conv(1)

πŸ“¦
version 1.5.1 Β· 2 versions
, in debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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. -p is lowercase, -P is 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