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

CG keyword PROTECT not filtered by divvun-suggest #32

Closed snomos closed 5 years ago

snomos commented 5 years ago
$ echo 'Dat ferte oainnahallot ovdal go sáhttit báhčit dan, lohká son.' | modes/trace-smegramrelease.mode
...
"<oainnahallot>"
    "oainnáhallat" V IV Imprt Pl1 Dial/-GG <W:2.30176> <WA:15.3018> <spelled> "<oainnáhallut>" PROTECT:3268 SELECT:3538 &SUGGESTWF &typo ADD:4066:spelled
typo
    "oainnihit" Ex/V TV Der/alla V Imprt Pl1 Dial/-GG <W:2.30176> <WA:17.3018> <spelled> "<oainnáhallut>" PROTECT:3268 SELECT:3538 &SUGGESTWF &typo ADD:4066:spelled
typo
    "oainnahallat" V IV Imprt Pl1 Dial/-GG <W:6.30176> <WA:15.3018> <spelled> "<oainnahallut>" PROTECT:3268 SELECT:3538 &SUGGESTWF &typo ADD:4066:spelled
typo
    "oainnihit" Ex/V TV Der/alla V Imprt Pl1 Dial/-KJ <W:13.3018> <WA:17.3018> <spelled> "<oainnáhallot>" PROTECT:3268 SELECT:3538 &real-hallan &typo &SUGGESTWF ADD:3769:msyn-hallan ADD:4066:spelled
real-hallan
typo
    "oainnihit" Ex/V TV Der/alla V <W:13.3018> <WA:17.3018> <spelled> "<oainnáhallot>" PROTECT:3268 SELECT:3538 Inf &SUGGEST ADD:3769:msyn-hallan COPY:3770:msyn-hallan
oainnihit+Ex/V+TV+Der/alla+V+PROTECT:3268+Inf   ?
    "oainnahallat" V IV Imprt Du1 <W:16.3018> <WA:15.3018> <spelled> "<oainnahallu>" PROTECT:3268 SELECT:3538 &SUGGESTWF &typo ADD:4066:spelled
typo
;   "oainnahallot" ? SELECT:3538

But:

$ echo 'Dat ferte oainnahallot ovdal go sáhttit báhčit dan, lohká son.' | modes/smegramrelease.mode
"<oainnahallot>"
    "oainnáhallat" V IV Imprt Pl1 Dial/-GG <W:2.30176> <WA:15.3018> <spelled> "<oainnáhallut>" &SUGGESTWF &typo
typo
    "oainnihit" Ex/V TV Der/alla V Imprt Pl1 Dial/-GG <W:2.30176> <WA:17.3018> <spelled> "<oainnáhallut>" &SUGGESTWF &typo
typo
    "oainnahallat" V IV Imprt Pl1 Dial/-GG <W:6.30176> <WA:15.3018> <spelled> "<oainnahallut>" &SUGGESTWF &typo
typo
    "oainnihit" Ex/V TV Der/alla V Imprt Pl1 Dial/-KJ <W:13.3018> <WA:17.3018> <spelled> "<oainnáhallot>" &real-hallan &typo &SUGGESTWF
real-hallan
typo
    "oainnihit" Ex/V TV Der/alla V <W:13.3018> <WA:17.3018> <spelled> "<oainnáhallot>" Inf &SUGGEST
oainnihit+Ex/V+TV+Der/alla+V+Inf    oainnáhallat
    "oainnahallat" V IV Imprt Du1 <W:16.3018> <WA:15.3018> <spelled> "<oainnahallu>" &SUGGESTWF &typo
typo

Probably UNPROTECT also.