mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-12 12:42:50 -06:00
polarity handling for Fin, e.g. "kukaan ei nuku" as equivalent to "nobody sleeps"
This commit is contained in:
@@ -79,22 +79,22 @@ concrete StructuralFin of Structural = CatFin **
|
||||
somebody_NP = {
|
||||
s = \\c => jokuPron ! Sg ! npform2case Sg c ;
|
||||
a = agrP3 Sg ;
|
||||
isPron = False
|
||||
isPron = False ; isNeg = False
|
||||
} ;
|
||||
someSg_Det = heavyDet {
|
||||
s1 = jokuPron ! Sg ;
|
||||
s2 = [] ;
|
||||
isNum,isPoss = False ; isDef = True ; n = Sg
|
||||
isNum,isPoss = False ; isDef = True ; isNeg = False ; n = Sg
|
||||
} ;
|
||||
somePl_Det = heavyDet {
|
||||
s1 = jokuPron ! Pl ;
|
||||
s2 = [] ; isNum,isPoss = False ; isDef = True ;
|
||||
n = Pl
|
||||
s2 = [] ; isNum,isPoss = False ; isNeg = False ; isDef = True ;
|
||||
n = Pl ; isNeg = False
|
||||
} ;
|
||||
something_NP = {
|
||||
s = \\c => jokinPron ! Sg ! npform2case Sg c ;
|
||||
a = agrP3 Sg ;
|
||||
isPron = False
|
||||
isPron = False ; isNeg = False ; isNeg = False
|
||||
} ;
|
||||
somewhere_Adv = ss "jossain" ;
|
||||
that_Quant = heavyQuant {
|
||||
@@ -106,7 +106,7 @@ concrete StructuralFin of Structural = CatFin **
|
||||
c => (mkPronoun "nuo" "noiden" "noita" "noina" "noihin" Sg P3).s ! NPCase c
|
||||
}
|
||||
} ;
|
||||
s2 = [] ; isNum,isPoss = False ; isDef = True ;
|
||||
s2 = [] ; isNum,isPoss = False ; isDef = True ; isNeg = False
|
||||
} ;
|
||||
that_Subj = ss "että" ;
|
||||
there_Adv = ss "siellä" ; --- tuolla
|
||||
@@ -123,7 +123,7 @@ concrete StructuralFin of Structural = CatFin **
|
||||
c => (mkPronoun "nämä" "näiden" "näitä" "näinä" "näihin" Sg P3).s ! NPCase c
|
||||
}
|
||||
} ;
|
||||
s2 = [] ; isNum,isPoss = False ; isDef = True ;
|
||||
s2 = [] ; isNum,isPoss = False ; isDef = True ; isNeg = False
|
||||
} ;
|
||||
through_Prep = postGenPrep "kautta" ;
|
||||
too_AdA = ss "liian" ;
|
||||
@@ -273,7 +273,7 @@ oper
|
||||
makeNP noun num = {
|
||||
s = \\c => noun.s ! NCase num (npform2case num c) ;
|
||||
a = agrP3 num ;
|
||||
isPron = False ;
|
||||
isPron, isNeg = False ;
|
||||
lock_NP = <>
|
||||
} ;
|
||||
|
||||
@@ -281,21 +281,21 @@ lin
|
||||
not_Predet = {s = \\_,_ => "ei"} ;
|
||||
|
||||
no_Quant = heavyQuant {
|
||||
s1 = \\n,c => mikaanPron ! n ! c ; --- requires negative or question polarity
|
||||
s2 = [] ; isNum,isPoss = False ; isDef = True ;
|
||||
s1 = \\n,c => mikaanPron ! n ! c ; -- requires negative or question polarity
|
||||
s2 = [] ; isNum,isPoss = False ; isDef = True ; isNeg = True
|
||||
} ;
|
||||
|
||||
if_then_Conj = {s1 = "jos" ; s2 = "niin" ; n = Sg} ;
|
||||
nobody_NP = {
|
||||
s = \\c => kukaanPron ! Sg ! npform2case Sg c ; --- requires negative or question polarity
|
||||
s = \\c => kukaanPron ! Sg ! npform2case Sg c ; -- requires negative or question polarity
|
||||
a = agrP3 Sg ;
|
||||
isPron = False
|
||||
isPron = False ; isNeg = True
|
||||
} ;
|
||||
|
||||
nothing_NP = {
|
||||
s = \\c => mikaanPron ! Sg ! npform2case Sg c ; --- requires negative or question polarity
|
||||
a = agrP3 Sg ;
|
||||
isPron = False
|
||||
isPron = False ; isNeg = True
|
||||
} ;
|
||||
|
||||
at_least_AdN = ss "vähintään" ;
|
||||
|
||||
Reference in New Issue
Block a user