vislcg3(1)

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

πŸ‘‘ vislcg3 β€” the manual, but make it cute

okay bestie, so this is the manual page for vislcg3(1) and honestly? it's giving legend behavior. sit down, grab a boba, we're doing grammar disambiguation today πŸ’…

✨ NAME ✨

vislcg3 β€” this application is part of ( cg3 )

This tool is part of the CG-3 constraint grammar system: https://edu.visl.dk/cg3.html.

🌸 SYNOPSIS 🌸

vislcg3 [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

so vislcg3 is the grammar parser AND the disambiguator in the VISL constraint grammar system. what does that mean? it's the main character that looks at all the different analyses (or "readings") of a word that a morphological analyser handed over, and picks between them based on a set of grammatical rules. it's literally choosing the vibe that fits. πŸ‘‘

and by default? vislcg3 reads input from stdin and writes output to stdout. classic. no notes.


πŸ’– OPTIONS πŸ’–

  • -h, --help β€” shows this help (the moment u need it most)
  • -?, --? β€” shows this help (yes, again, but make it question-mark shaped)
  • -V, --version β€” prints copyright and version information, iykyk
  • -g, --grammar β€” specifies the grammar file to use for disambiguation
  • --grammar-out β€” writes the compiled grammar in textual form to a file
  • --grammar-bin β€” writes the compiled grammar in binary form to a file
  • --grammar-only β€” only compiles the grammar; implies --verbose
  • --ordered β€” (will in future allow full ordered matching) β€” future era, not here yet
  • -u, --unsafe β€” allows the removal of all readings in a cohort, even the last one 😳
  • -s, --sections β€” number or ranges of sections to run; defaults to all sections
  • --rules β€” number or ranges of rules to run; defaults to all rules
  • --rule β€” a name or number of a single rule to run
  • -d, --debug β€” enables debug output (very noisy) β€” like, SO noisy, protect ur ears
  • -v, --verbose β€” increases verbosity
  • -2, --vislcg-compat β€” enables compatibility mode for older CG-2 and vislcg grammars
  • -I, --stdin β€” file to read input from instead of stdin
  • -O, --stdout β€” file to print output to instead of stdout
  • -E, --stderr β€” file to print errors to instead of stderr
  • -C, --codepage-all β€” codepage to use for grammar, input, and output streams; defaults to UTF-8
  • --codepage-grammar β€” codepage to use for grammar; overrides --codepage-all
  • --codepage-input β€” codepage to use for input; overrides --codepage-all
  • --codepage-output β€” codepage to use for output and errors; overrides --codepage-all
  • -L, --locale-all β€” locale to use for grammar, input, and output streams; defaults to en_US_POSIX
  • --locale-grammar β€” locale to use for grammar; overrides --locale-all
  • --locale-input β€” locale to use for input; overrides --locale-all
  • --locale-output β€” locale to use for output and errors; overrides --locale-all
  • --no-mappings β€” disables all MAP, ADD, and REPLACE rules
  • --no-corrections β€” disables all SUBSTITUTE and APPEND rules
  • --no-before-sections β€” disables all rules in BEFORE-SECTIONS parts
  • --no-sections β€” disables all rules in SECTION parts
  • --no-after-sections β€” disables all rules in AFTER-SECTIONS parts
  • -t, --trace β€” prints debug output alongside with normal output
  • --trace-name-only β€” if a rule is named, omit the line number; implies --trace
  • --trace-no-removed β€” does not print removed readings; implies --trace
  • --trace-encl β€” traces which enclosure pass is currently happening; implies --trace
  • --dry-run β€” make no actual changes to the input (just vibes, no consequences)
  • --single-run β€” runs each section only once; same as --max-runs 1
  • --max-runs β€” runs each section max N times; defaults to unlimited (0)
  • -S, --statistics β€” gathers profiling statistics while applying grammar
  • -Z, --optimize-unsafe β€” destructively optimize the profiled grammar to be faster ⚠️ destructive, bestie
  • -z, --optimize-safe β€” conservatively optimize the profiled grammar to be faster
  • -p, --prefix β€” sets the mapping prefix; defaults to @
  • --unicode-tags β€” outputs Unicode code points for things like ->
  • --unique-tags β€” outputs unique tags only once per reading
  • --num-windows β€” number of windows to keep in before/ahead buffers; defaults to 2
  • --always-span β€” forces scanning tests to always span across window boundaries
  • --soft-limit β€” number of cohorts after which the SOFT-DELIMITERS kick in; defaults to 300
  • --hard-limit β€” number of cohorts after which the window is forcefully cut; defaults to 500
  • -D, --dep-delimit β€” delimit windows based on dependency instead of DELIMITERS; defaults to 10
  • --dep-original β€” outputs the original input dependency tag even if it is no longer valid
  • --dep-allow-loops β€” allows the creation of circular dependencies πŸŒ€
  • --dep-no-crossing β€” prevents the creation of dependencies that would result in crossing branches
  • --no-magic-readings β€” prevents running rules on magic readings ✨ (yes that's the actual name)
  • -o, --no-pass-origin β€” prevents scanning tests from passing the point of origin
  • -e, --show-end-tags β€” allows the <<< tags to appear in output
  • --show-unused-sets β€” prints a list of unused sets and their line numbers; implies --grammar-only
  • --show-tag-hashes β€” prints a list of tags and their hashes as they are parsed during the run
  • --show-set-hashes β€” prints a list of sets and their hashes; implies --grammar-only

πŸ’€ BUGS πŸ’€

found something cursed? email it, fr fr:

Email to: Tino Didriksen <mail@tinodidriksen.com>

πŸŽ€ AUTHOR πŸŽ€

(c) 2007-2025 GrammarSoft ApS


and that's the whole page, bestie. every flag, every default, every warning β€” all accounted for, no cap. go disambiguate something iconic. 🫢

signing off from the vislcg3(1) manual, dated 2014-05-07, version courtesy of GrammarSoft ApS β€” mwah, slay, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from