Skip to content

Commit

Permalink
Fixing disambiguation of ConNeg
Browse files Browse the repository at this point in the history
fixed the MO set that serves as a sentence barrier. However since the foc particles are now tagged to the adverbs we need to exclude them from this set
  • Loading branch information
lynnda-hill committed Apr 3, 2024
1 parent 6fb0a32 commit 33cabfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/grammarcheckers/grc-disambiguator.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ LIST MOVT = "govt" ("maht" Adv) "maht" "mot" "mov" "maht" ;

LIST MO-MANge = "tondiet" "kuás" "gokko" "kost" "kuus" "govt" ("maht" Adv) "maggaar" "maht" "mane" ("mane" Adv) "maht" "mot" "mov" "maht" ("nugo" @CVP) (V Qst);

SET MO = MO-MANge - Foc/ge ;
SET MO = MO-MANge - Foc/ge - Foc/nii ;

# Introduce finite clauses.

Expand Down Expand Up @@ -3999,7 +3999,7 @@ SELECT:ConNegPrfPrc ConNeg IF (*-1 PrfPrc BARRIER NOT-ADV-PCLE LINK *-1 Neg BARR


#!! * **NotConNegIfNotNeg** removes ConNeg if no Neg to the left. Consider unifying with NotConNegNotNeg. - 1094269
REMOVE:NotConNegIfNotNeg ConNeg IF (NEGATE *-1 Neg BARRIER CLB OR Ind)(NEGATE *-1 Nom LINK -1 Neg)(NEGATE *-1 (@CVP) BARRIER NOT-A-ADV LINK *-1 ConNeg BARRIER VFIN)(NEGATE -1 ("já" CC) OR ("dahje" CC) LINK **-1 ConNeg LINK -1 Neg);
REMOVE:NotConNegIfNotNeg ConNeg IF (NEGATE *-1 Neg BARRIER CLB OR Ind)(NEGATE *-1 Nom BARRIER CLB OR Ind LINK -1 Neg)(NEGATE *-1 (@CVP) BARRIER NOT-A-ADV LINK *-1 ConNeg BARRIER VFIN)(NEGATE -1 ("já" CC) OR ("dahje" CC) LINK **-1 ConNeg LINK -1 Neg);
#$ Juohke muorra mii ii šaddat buriid šattuid, čullojuvvo ja bálkestuvvo dollii.
#$ Gávpot mii lea vári alde, ii sáhte leat čihkosis.
#% Bearehan dal son ii geige vel gieđa ja váldde maiddái eallima muoras ja bora ja beasa nu eallit agálaččat.
Expand Down

0 comments on commit 33cabfc

Please sign in to comment.