cg3
cg3 copied to clipboard
Tools for the 3rd edition of the Constraint Grammar formalism.
Spotted by [email protected] https://groups.google.com/g/constraint-grammar/c/YN2G_y3fENk input.txt: ``` "" "1" Noun "" "2" Adj "" "(" Punct "" "3" V "" ")" Punct "" "4" V "" "." Punct ``` grammar.cg3: ```...
Or make CG-3 itself lower them akin to dependencies, if it can see the window is stand-alone.
``` $ echo "dette er en test" | AP_SETVAR="" apertium -f none -d. nob-nno dette er ein test $ echo "dette er en test" | AP_SETVAR="ansikt_andlet.syn,enkelt_einskild.syn,bli_verte.vb-bli2verte,eigentleg_eigenleg.stav,barna_borna.vok-o2a,trost_trast.vok-o2a,alter_altar.vok-a2e,jern_jarn.vok-a2e,kvalp_kvelp.vok-a2e,spenn_span.vok-a2e,drikk_drykk.vok-i2y,segle_sigle.vok-e2i,lys_ljos.vok-y2jo,allmenn_ålmenn.vok-a2å,mogleg_mogeleg.vok-2e,sommar_sumar.vok-o2u,jul_jol.vok-u2o,høvding_hovding.vok-ø2o,så_so.vok-o2å,først_fyrst.vok-ø2y,søndag_sundag.vok-ø2u,lykke_lukke.vok-y2u" apertium -f none -d....
We get this message if we have simply omitted the 0 in `(NEGATE 0 (foo))`, like `(NEGATE (foo))`. `Inline templates` is an advanced feature, people who don't use it or...
These two errors get the same warning: ``` LIST foo = foo; LIST foo = foo; LIST bar = bar; LIST baz = bar; ``` but it would be nice...
Cf the following (using [giellalt/lang-sme](https://github.com/giellalt/lang-sme) as example): ```sh echo 'Jođiheaddji guovttosges' | hfst-tokenise -g tokeniser-gramcheck-gt-desc.pmhfst "" "ges" Pcle Foc/ges "" "jođiheaddji guovttos" N Coll Sem/Group_Hum Sg Loc "" "ges" Pcle...
this was discussed in irc before christmas by @lynnda-hill: ```shell $ cd github/giellalt/lang-smj && make $ echo Dan maŋŋela la Sámedigge giellastivrra ja fylkka bálkáv vaddám. | hfst-tokenise -g '/home/flammie/github/giellalt/lang-smj/tools/grammarcheckers/tokeniser-gramcheck-gt-desc.pmhfst'...
For line matches, it is bothersome to have to write `\` for every space and `)`. Implement something like C++ `R"()"` or Python `r''`
Cf. https://github.com/apertium/lttoolbox/issues/177 it should be possible to treat `~` as a subreading separator when reading/writing with cg-proc