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

doesn't generate suggestion for linked coerror, only main error, when &SUGGEST #70

Closed unhammer closed 8 months ago

unhammer commented 9 months ago
"<Dat>"
    "dat" Pron <smj> <smj> Dem Sg Nom <W:0.0> SUBSTITUTE:4209 SUBSTITUTE:4208
;   "dat" Pron Dem Sg Ela Attr <W:0.0> REMOVE:2181
;   "dat" Pron Dem Sg Par <W:0.0> REMOVE:3007
: 
"<ij>"
    "ij" V <smj> <smj> IV Neg Ind Prs Sg3 <W:0.0> MAP:3355 SUBSTITUTE:4204 @+FAUXV SUBSTITUTE:4203
: 
"<vuojnnum>"
    "vuojnnet" Ex/V Ex/TV Der/PassS Ex/V IV Der/NomAct N <smj> <smj> Sg Nom <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
    "vuojnnet" Ex/V Ex/TV Der/PassS V <smj> <smj> <TH-FS-Qst> <TH-FS-Qpron> <TH-FS-Qst> IV Actio Nom <W:0.0> SUBSTITUTE:1043 SUBSTITUTE:1048 SUBSTITUTE:1064 MAP:3444 SUBSTITUTE:4204 @X SUBSTITUTE:4203
    "vuojnnet" Ex/V Ex/TV Der/PassS V <smj> <smj> <TH-FS-Qst> <TH-FS-Qpron> <TH-FS-Qst> IV PrfPrc <W:0.0> SUBSTITUTE:1043 SUBSTITUTE:1048 SUBSTITUTE:1064 MAP:3399 SUBSTITUTE:4204 @-FMAINV SUBSTITUTE:4203
    "vuojnnut" Ex/V IV Der/NomAct N <smj> <smj> Sg Nom <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
    "vuojnnut" V <smj> <smj> <TH-Nom-Any> IV Actio Nom <W:0.0> SUBSTITUTE:1078 MAP:3444 SUBSTITUTE:4204 @X SUBSTITUTE:4203
    "vuojnnut" V <smj> <smj> <TH-Nom-Any> IV PrfPrc <W:0.0> SUBSTITUTE:1078 MAP:3399 SUBSTITUTE:4204 @-FMAINV SUBSTITUTE:4203
;   "vuojnno" N Sem/Body-abstr_Feat-psych Sg Nom PxSg1 <W:0.0> REMOVE:1482
: 
"<nav>"
    "nav" Adv <smj> <smj> <W:0.0> SUBSTITUTE:4203 SUBSTITUTE:4202
    "nav" Pcle <smj> <smj> <W:0.0> MAP:1951 SUBSTITUTE:4212 @PCLE SUBSTITUTE:4211
: 
"<gåk>"
    "gåktu" Adv <smj> <smj> Sh <W:0.0> SUBSTITUTE:4203 SUBSTITUTE:4202
: 
"<galgaj>"
    "galggat" V <smj> <smj> IV Ind Prt Sg3 <W:0.0> MAP:3444 SUBSTITUTE:4204 @X SUBSTITUTE:4203
"<.>"
    "." CLB <W:0.0>
: 

"<Sámedigge>"
    "Sámedigge" N <smj> <smj> Prop Sem/Org Sg Nom <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
    "sámedigge" N <smj> <smj> Sem/Build_Org Sg Nom <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
;   "digge" N Sem/Org Sg Nom <W:0.0>
;       "sábme" N Sem/Hum_Lang Cmp/SgGen Cmp <W:0.0> REMOVE:2110:longest-match
;   "digge" N Sem/Org Sg Nom <W:0.0>
;       "sáme" A Cmp/Attr Cmp <W:0.0> REMOVE:2110:longest-match
;   "digge" N Sem/Org Sg Nom <W:0.0>
;       "sáme" N Sem/Dummytag Cmp/Unass Cmp <W:0.0> REMOVE:2110:longest-match
: 
"<rudájt>"
    "ruhta" N <smj> <smj> Sem/Money Pl Acc <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
: 
"<juollot>"
    "juollodit" V <smj> <smj> <RE-Ill-Ani><TH-Acc-*Ani> TV Gram/3syll Ind Prs Sg3 <W:0.0> SUBSTITUTE:1061 MAP:3392 SUBSTITUTE:4204 @+FMAINV SUBSTITUTE:4203
;   "juollodit" V <RE-Ill-Ani><TH-Acc-*Ani> TV Gram/3syll Ind Prs Err/Orth Sg3 <W:0.0> SUBSTITUTE:1061 @+FMAINV MAP:3392 REMOVE:4195:errsub
: 
"<njuolgga>"
    "njuolgga" Adv <smj> <smj> <W:0.0> SUBSTITUTE:4203 SUBSTITUTE:4202
;   "njuolgga" A Attr <W:0.0> REMOVE:2517
: 
"<dá>"
    "dát" Pron <smj> <smj> Dem Pl Nom <W:0.0> SUBSTITUTE:4209 SUBSTITUTE:4208
: 
"<guovte>"
    "guokta" Num Sg Gen <W:0.0> SELECT:2838
;   "guokta" Num Pl Nom <W:0.0> SELECT:2838
;   "guokta" Num Sg Ill Attr <W:0.0> SELECT:2838
: 
"<tjuovvovasj>"
    "tjuovvovasj" A <smj> <smj> <AttrPred> Attr <W:0.0> SUBSTITUTE:506 SELECT:2291 SUBSTITUTE:4201 SUBSTITUTE:4200
;   "tjuovvovasj" A <AttrPred> Sg Nom <W:0.0> SUBSTITUTE:506 SELECT:2291
: 
"<organisasjåvnåjda>"
    "organisasjåvnnå" N <smj> <smj> Sem/Org Pl Ill <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
: 
"<ma>"
    "mij" Pron <smj> <smj> Rel Pl Nom <W:0.0> SELECT:2987 SUBSTITUTE:4209 SUBSTITUTE:4208
;   "ma" N Sem/Time ABBR Gram/IAbbr Attr <W:0.0> REMOVE:2181
;   "ma" N Sem/Time ABBR Gram/IAbbr Pl Nom <W:0.0> SELECT:2987
;   "ma" N Sem/Time ABBR Gram/IAbbr Sg Gen <W:0.0> SELECT:2987
;   "ma" N Sem/Time ABBR Gram/IAbbr Sg Nom <W:0.0> SELECT:2987
;   "mij" Pron Interr Pl Nom <W:0.0> SELECT:2987
: 
"<organiseriji>"
    "organisierit" V <smj> <smj> TV Area/SE Ind Prs Pl3 <W:0.0> MAP:3392 SELECT:4154 SUBSTITUTE:4204 @+FMAINV SUBSTITUTE:4203
;   "organisierit" V TV Area/SE Ind Prt Sg2 <W:0.0> @+FMAINV MAP:3392 SELECT:4154
: 
"<sáme>"
    "sáme" A <smj> <smj> Attr <W:0.0> SELECT:2172 SUBSTITUTE:4201 SUBSTITUTE:4200
;   "sábme" N Sem/Hum_Lang Pl Nom <W:0.0> SELECT:2172
;   "sábme" N Sem/Hum_Lang Sg Gen <W:0.0> SELECT:2172
: 
"<valástallamdåjmajt>"
    "doajmma" N <smj> <smj> Sem/Act Pl Acc <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
        "valástallam" N Sem/Dummytag Gram/NomAct Cmp/SgNom Cmp <W:0.0>
    "doajmma" N <smj> <smj> Sem/Act Pl Acc <W:0.0> SUBSTITUTE:4202 SUBSTITUTE:4201
        "valástallat" Ex/V IV Der/NomAct N Cmp/SgNom Cmp <W:0.0>
"<.>"
    "." CLB <W:0.0>
:\n
unhammer commented 8 months ago
echo "Dat ij vuojnnum nav gåk galgaj." | tools/grammarcheckers/modes/trace-smjgram-dev.mode 

ERROR Dat ij vuojnnum nav gåk galgaj. TARGET ...ittjij vuojnnu... RESULTAT ... ijojnnu ...

&msyn-sme_interference_neg