divvun / libdivvun

lib for running gramcheck and other pipelines + cli; modules for CG→spelling, CG→feedback, tagging blanks
https://giellalt.github.io/proof/gramcheck/GrammarCheckerDocumentation.html
GNU General Public License v3.0
9 stars 1 forks source link

Error message without error tag #35

Closed snomos closed 4 years ago

snomos commented 5 years ago

The following works just fine:

$ echo 'gávdno (bearaš, ustibat jna.)' | modes/smegramrelease.mode
"<gávdno>"
    "gávdnot" V <TH-Nom-Any> <LO-luhtte-Any> <LO-Loc-Plc> IV Imprt Sg2 <W:0.0> @+FMAINV
: 
"<(>"
    "(" PUNCT LEFT <W:0.0>
"<bearaš>"
    "bearaš" N Sem/Group_Hum Sg Nom <W:0.0> @<SUBJ
"<,>"
    "," CLB <W:0.0>
: 
"<ustibat>"
    "ustit" N Sem/Hum Pl Nom <W:0.0> @<SUBJ
: 
"<jna.>"
    "jna" Adv ABBR Gram/IAbbr <W:0.0> <NoSpaceAfterPunctMark> @<ADVL
"<)>"
    ")" PUNCT RIGHT <W:0.0> <LastCohortOfParagraph>
:\n

But when processed by divvun-checker, the same sentence (and analysis) results in the following error flagging:

$ echo 'gávdno (bearaš, ustibat jna.)' | divvun-checker -a se.zcheck | jq .
{
  "errs": [
    [
      ")",
      28,
      29,
      "no-space-after-parent-end",
      "[SE] Parenthesis missing space",
      [],
      "[SE] Parenthesis missing space"
    ]
  ],
  "text": "gávdno (bearaš, ustibat jna.)"
}

Why?

snomos commented 5 years ago

Latest of everything, sme grammar as of svn rev. 183009.

unhammer commented 4 years ago

I don't see this any more – do you still get the error from the zcheck?

snomos commented 4 years ago

No, not with latest libdivvun. My zcheck file is from Feb 7, so I assume this is solved now.