add lenition in the case table as separate dimension for Nom and Dat

This commit is contained in:
Inari Listenmaa committed 2025-08-28 15:43:56 +02:00
1 parent d652c81fa7
commit 8c25bdeacc
4 files changed
+100 -73

No files matched your search

+7 -3
View File
@@ -15,9 +15,13 @@ lin
PrepNP prep np = {
s = prepAndArt ++ noun
} where {
complCase : NPCase = case np.a of {
NotPron (DPoss _ (Sg1|Sg2|Sg3 Masc)) => NPLenited ;
_ => NPC (prep.c2 ! getDefi np.a) } ;
defaultCase : CoreCase = prep.c2 ! getDefi np.a ;
complCase : Case = case <defaultCase, np.a> of {
<Dat NoMutation, NotPron (DPoss _ (Sg1|Sg2|Sg3 Masc))>
=> CC (Dat Lenited) ; -- force lenition if possessive triggers it
<Nom NoMutation, NotPron (DPoss _ (Sg1|Sg2|Sg3 Masc))>
=> CC (Nom Lenited) ; -- force lenition if possessive triggers it
_ => CC defaultCase } ;
prepStr : Str = prep.s ! agr2pagr np.a ; -- can be Prep or Prep+Pron merged
artStr : Str = np.art ! complCase ;
prepAndArt : Str = case np.a of {