vislcg3(1)
π 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 ofstdin-O,--stdoutβ file to print output to instead ofstdout-E,--stderrβ file to print errors to instead ofstderr-C,--codepage-allβ codepage to use for grammar, input, and output streams; defaults toUTF-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 toen_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 allMAP,ADD, andREPLACErules--no-correctionsβ disables allSUBSTITUTEandAPPENDrules--no-before-sectionsβ disables all rules inBEFORE-SECTIONSparts--no-sectionsβ disables all rules inSECTIONparts--no-after-sectionsβ disables all rules inAFTER-SECTIONSparts-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 to2--always-spanβ forces scanning tests to always span across window boundaries--soft-limitβ number of cohorts after which theSOFT-DELIMITERSkick in; defaults to300--hard-limitβ number of cohorts after which the window is forcefully cut; defaults to500-D,--dep-delimitβ delimit windows based on dependency instead ofDELIMITERS; defaults to10--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
- debian trixie: cg3 1.5.1-1 Β· GPL-3.0-or-later
- 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