NON_EXISTANT -> nonExist

This commit is contained in:
Krasimir Angelov
2025-08-28 19:35:49 +02:00
parent 625ddf1e1e
commit 5cb67dadbf
11 changed files with 72 additions and 74 deletions

View File

@@ -43,7 +43,7 @@ lin
AdnCAdv cadv = { AdnCAdv cadv = {
s = case cadv.deg of { s = case cadv.deg of {
Posit => cadv.s ++ cadv.prep ; Posit => cadv.s ++ cadv.prep ;
_ => NON_EXISTENT _ => nonExist
} }
} ; } ;

View File

@@ -57,7 +57,7 @@ lin
} ; } ;
-- FIXME: placeholder -- FIXME: placeholder
CleftNP np rs = { s = \\_,_ => NON_EXISTENT } ; CleftNP np rs = { s = \\_,_ => nonExist } ;
CleftAdv ad s = { s = \\_,_ => NON_EXISTENT } ; CleftAdv ad s = { s = \\_,_ => nonExist } ;
} }

View File

@@ -8,7 +8,7 @@ oper
-- ADJECTIVES -- ADJECTIVES
-- TODO: Parameters and paradigms should be redesigned due to the many NON_EXISTENT forms..? -- TODO: Parameters and paradigms should be redesigned due to the many nonExist forms..?
-- To keep the code and user interface (parameters) simple, Masc lemmas are expected. -- To keep the code and user interface (parameters) simple, Masc lemmas are expected.
@@ -56,7 +56,7 @@ oper
s + "ais" => mkAdjective_Pos lemma Def ! g ! n ! c ; s + "ais" => mkAdjective_Pos lemma Def ! g ! n ! c ;
_ => mkAdjective_Pos lemma Indef ! g ! n ! c _ => mkAdjective_Pos lemma Indef ! g ! n ! c
} ; } ;
AAdj _ _ _ _ _ => NON_EXISTENT ; AAdj _ _ _ _ _ => nonExist ;
AAdv d => mkAdjective_Adverb lemma ! d AAdv d => mkAdjective_Adverb lemma ! d
} }
}; };
@@ -69,7 +69,7 @@ oper
mkAdjective_Participle : Verb -> Voice -> Adjective = \v,p -> { mkAdjective_Participle : Verb -> Voice -> Adjective = \v,p -> {
s = table { s = table {
AAdj Posit Indef g n c => v.s ! Pos ! (VPart p g n c) ; AAdj Posit Indef g n c => v.s ! Pos ! (VPart p g n c) ;
_ => NON_EXISTENT _ => nonExist
} }
}; };

View File

@@ -257,7 +257,7 @@ oper
in { in {
s = table { s = table {
Sg => case stem of { Sg => case stem of {
#exception_D6 => \\_ => NON_EXISTENT ; #exception_D6 => \\_ => nonExist ;
_ => table { _ => table {
Nom => stem + "s" ; Nom => stem + "s" ;
Gen => stem + "s" ; Gen => stem + "s" ;
@@ -288,17 +288,17 @@ oper
Sg => table { Sg => table {
Nom => stem + "šanās" ; Nom => stem + "šanās" ;
Gen => stem + "šanās" ; Gen => stem + "šanās" ;
Dat => NON_EXISTENT ; Dat => nonExist ;
Acc => stem + "šanos" ; Acc => stem + "šanos" ;
Loc => NON_EXISTENT ; Loc => nonExist ;
Voc => stem + "šanās" Voc => stem + "šanās"
} ; } ;
Pl => table { Pl => table {
Nom => stem + "šanās" ; Nom => stem + "šanās" ;
Gen => stem + "šanos" ; Gen => stem + "šanos" ;
Dat => NON_EXISTENT ; Dat => nonExist ;
Acc => stem + "šanās" ; Acc => stem + "šanās" ;
Loc => NON_EXISTENT ; Loc => nonExist ;
Voc => stem + "šanās" Voc => stem + "šanās"
} }
} ; } ;

View File

@@ -17,7 +17,7 @@ oper
Dat => "man" ; Dat => "man" ;
Acc => "mani" ; Acc => "mani" ;
Loc => "manī" ; Loc => "manī" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
agr = AgrP1 Sg gend ; agr = AgrP1 Sg gend ;
poss = table { poss = table {
@@ -68,7 +68,7 @@ oper
Dat => "mums" ; Dat => "mums" ;
Acc => "mūs" ; Acc => "mūs" ;
Loc => "mūsos" ; Loc => "mūsos" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
agr = AgrP1 Pl gend ; agr = AgrP1 Pl gend ;
poss = \\_,_,_ => "mūsu" ; poss = \\_,_,_ => "mūsu" ;
@@ -188,7 +188,7 @@ oper
Dat => stem + "am" ; Dat => stem + "am" ;
Acc => stem + "u" ; Acc => stem + "u" ;
Loc => stem + "ā" ; Loc => stem + "ā" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => table { Pl => table {
Nom => stem + "i" ; Nom => stem + "i" ;
@@ -196,7 +196,7 @@ oper
Dat => stem + "iem" ; Dat => stem + "iem" ;
Acc => stem + "us" ; Acc => stem + "us" ;
Loc => stem + "os" ; Loc => stem + "os" ;
Voc => NON_EXISTENT Voc => nonExist
} }
} ; } ;
Fem => table { Fem => table {
@@ -206,7 +206,7 @@ oper
Dat => stem + "ai" ; Dat => stem + "ai" ;
Acc => stem + "u" ; Acc => stem + "u" ;
Loc => stem + "ā" ; Loc => stem + "ā" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => table { Pl => table {
Nom => stem + "as" ; Nom => stem + "as" ;
@@ -214,7 +214,7 @@ oper
Dat => stem + "ām" ; Dat => stem + "ām" ;
Acc => stem + "as" ; Acc => stem + "as" ;
Loc => stem + "ās" ; Loc => stem + "ās" ;
Voc => NON_EXISTENT Voc => nonExist
} }
} }
} ; } ;
@@ -236,7 +236,7 @@ oper
Dat => stem + suff1 + "m" ; Dat => stem + suff1 + "m" ;
Acc => stem + "o" ; Acc => stem + "o" ;
Loc => stem + "ajā" ; Loc => stem + "ajā" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => table { Pl => table {
Nom => stem + "ie" ; Nom => stem + "ie" ;
@@ -244,7 +244,7 @@ oper
Dat => stem + "iem" ; Dat => stem + "iem" ;
Acc => stem + "os" ; Acc => stem + "os" ;
Loc => stem + "ajos" ; Loc => stem + "ajos" ;
Voc => NON_EXISTENT Voc => nonExist
} }
} ; } ;
Fem => table { Fem => table {
@@ -254,7 +254,7 @@ oper
Dat => stem + "ai" ; Dat => stem + "ai" ;
Acc => stem + "o" ; Acc => stem + "o" ;
Loc => stem + "ajā" ; Loc => stem + "ajā" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => table { Pl => table {
Nom => stem + suff2 + "s" ; Nom => stem + suff2 + "s" ;
@@ -262,7 +262,7 @@ oper
Dat => stem + suff2 + "m" ; Dat => stem + suff2 + "m" ;
Acc => stem + suff2 + "s" ; Acc => stem + suff2 + "s" ;
Loc => stem + "ajās" ; Loc => stem + "ajās" ;
Voc => NON_EXISTENT Voc => nonExist
} }
} }
} ; } ;
@@ -278,7 +278,7 @@ oper
Dat => case stem of { "kaut" => stem ++ "kam" ; _ => stem + "kam" } ; Dat => case stem of { "kaut" => stem ++ "kam" ; _ => stem + "kam" } ;
Acc => case stem of { "kaut" => stem ++ "ko" ; _ => stem + "ko" } ; Acc => case stem of { "kaut" => stem ++ "ko" ; _ => stem + "ko" } ;
Loc => case stem of { "kaut" => stem ++ "kur" ; _ => stem + "kur" } ; Loc => case stem of { "kaut" => stem ++ "kur" ; _ => stem + "kur" } ;
Voc => NON_EXISTENT Voc => nonExist
} ! c ; } ! c ;
agr = AgrP3 Sg Masc ; agr = AgrP3 Sg Masc ;
poss = \\_,_,_ => case stem of { "kaut" => stem ++ "kā" ; _ => stem + "kā" } ; poss = \\_,_,_ => case stem of { "kaut" => stem ++ "kā" ; _ => stem + "kā" } ;

View File

@@ -54,8 +54,8 @@ oper
filter_Neg : Verb_TMP -> Verb_TMP = \full -> { filter_Neg : Verb_TMP -> Verb_TMP = \full -> {
s = table { s = table {
VDeb => NON_EXISTENT ; VDeb => nonExist ;
VDebRel => NON_EXISTENT ; VDebRel => nonExist ;
x => full.s ! x x => full.s ! x
} }
} ; } ;
@@ -96,8 +96,8 @@ oper
VRel Pres => stem2 + "ot" ; VRel Pres => stem2 + "ot" ;
VRel Fut => pal_C1_1 stem3 stem1 + "šot" ; VRel Fut => pal_C1_1 stem3 stem1 + "šot" ;
VRel Past => NON_EXISTENT ; VRel Past => nonExist ;
VRel Cond => NON_EXISTENT ; VRel Cond => nonExist ;
VDeb => "jā" + stem2 ; VDeb => "jā" + stem2 ;
VDebRel => "jā" + stem2 + "ot" ; VDebRel => "jā" + stem2 + "ot" ;
@@ -142,8 +142,8 @@ oper
VRel Pres => stem + "jot" ; VRel Pres => stem + "jot" ;
VRel Fut => stem + "šot" ; VRel Fut => stem + "šot" ;
VRel Past => NON_EXISTENT ; VRel Past => nonExist ;
VRel Cond => NON_EXISTENT ; VRel Cond => nonExist ;
VDeb => "jā" + stem ; VDeb => "jā" + stem ;
VDebRel => "jā" + stem + "jot" ; VDebRel => "jā" + stem + "jot" ;
@@ -188,8 +188,8 @@ oper
VRel Pres => pal_C3_1 stem + "ot" ; VRel Pres => pal_C3_1 stem + "ot" ;
VRel Fut => stem + "šot" ; VRel Fut => stem + "šot" ;
VRel Past => NON_EXISTENT ; VRel Past => nonExist ;
VRel Cond => NON_EXISTENT ; VRel Cond => nonExist ;
VDeb => pal_C3_3 stem ; VDeb => pal_C3_3 stem ;
VDebRel => pal_C3_3 stem + "ot" ; VDebRel => pal_C3_3 stem + "ot" ;
@@ -238,8 +238,8 @@ oper
VRel Pres => stem2 + "oties" ; VRel Pres => stem2 + "oties" ;
VRel Fut => pal_C1_1 stem3 stem1 + "šoties" ; VRel Fut => pal_C1_1 stem3 stem1 + "šoties" ;
VRel Past => NON_EXISTENT ; VRel Past => nonExist ;
VRel Cond => NON_EXISTENT ; VRel Cond => nonExist ;
VDeb => "jā" + stem2 + "as" ; VDeb => "jā" + stem2 + "as" ;
VDebRel => "jā" + stem2 + "oties" ; VDebRel => "jā" + stem2 + "oties" ;
@@ -284,8 +284,8 @@ oper
VRel Pres => stem + "joties" ; VRel Pres => stem + "joties" ;
VRel Fut => stem + "šoties" ; VRel Fut => stem + "šoties" ;
VRel Past => NON_EXISTENT ; VRel Past => nonExist ;
VRel Cond => NON_EXISTENT ; VRel Cond => nonExist ;
VDeb => "jā" + stem + "jas" ; VDeb => "jā" + stem + "jas" ;
VDebRel => "jā" + stem + "joties" ; VDebRel => "jā" + stem + "joties" ;
@@ -330,8 +330,8 @@ oper
VRel Pres => pal_C3_1 stem + "oties" ; VRel Pres => pal_C3_1 stem + "oties" ;
VRel Fut => stem + "šoties" ; VRel Fut => stem + "šoties" ;
VRel Past => NON_EXISTENT ; VRel Past => nonExist ;
VRel Cond => NON_EXISTENT ; VRel Cond => nonExist ;
VDeb => pal_C3_6 stem + "s" ; VDeb => pal_C3_6 stem + "s" ;
VDebRel => pal_C3_6 stem + "oties" ; VDebRel => pal_C3_6 stem + "oties" ;
@@ -372,8 +372,8 @@ oper
VInd P2 Sg Pres => "neesi" ; VInd P2 Sg Pres => "neesi" ;
VInd P3 _ Pres => "nav" ; VInd P3 _ Pres => "nav" ;
VDeb => NON_EXISTENT ; VDeb => nonExist ;
VDebRel => NON_EXISTENT ; VDebRel => nonExist ;
x => (mkVerb_C1 "nebūt" "neesu" "nebiju").s ! x -- the incorrect 'neesu' will be overriden x => (mkVerb_C1 "nebūt" "neesu" "nebiju").s ! x -- the incorrect 'neesu' will be overriden
} }
@@ -392,8 +392,8 @@ oper
} ; } ;
Neg => table { Neg => table {
VInd P3 _ Pres => "ne" + pref + "iet" ; VInd P3 _ Pres => "ne" + pref + "iet" ;
VDeb => NON_EXISTENT ; VDeb => nonExist ;
VDebRel => NON_EXISTENT ; VDebRel => nonExist ;
x => (mkVerb_C1 ("ne" + pref + "iet") ("ne" + pref + "eju") ("ne" + pref + "gāju")).s ! x x => (mkVerb_C1 ("ne" + pref + "iet") ("ne" + pref + "eju") ("ne" + pref + "gāju")).s ! x
} }
} ; } ;
@@ -422,9 +422,9 @@ oper
VRel Pres => (mkVerb_C3 "neguļēt").s ! VRel Pres ; VRel Pres => (mkVerb_C3 "neguļēt").s ! VRel Pres ;
VDeb => NON_EXISTENT ; VDeb => nonExist ;
VDebRel => NON_EXISTENT ; VDebRel => nonExist ;
x => (mkVerb_C3 "negulēt").s ! x x => (mkVerb_C3 "negulēt").s ! x
} }
@@ -557,7 +557,7 @@ oper
Dat => stem + "ušam" ; Dat => stem + "ušam" ;
Acc => stem + "ušu" ; Acc => stem + "ušu" ;
Loc => stem + "ušā" ; Loc => stem + "ušā" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => case c of { Pl => case c of {
Nom => stem + "uši" ; Nom => stem + "uši" ;
@@ -565,7 +565,7 @@ oper
Dat => stem + "ušiem" ; Dat => stem + "ušiem" ;
Acc => stem + "ušus" ; Acc => stem + "ušus" ;
Loc => stem + "ušos" ; Loc => stem + "ušos" ;
Voc => NON_EXISTENT Voc => nonExist
} }
} ; } ;
Fem => case n of { Fem => case n of {
@@ -575,7 +575,7 @@ oper
Dat => stem + "ušai" ; Dat => stem + "ušai" ;
Acc => stem + "ušu" ; Acc => stem + "ušu" ;
Loc => stem + "ušā" ; Loc => stem + "ušā" ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => case c of { Pl => case c of {
Nom => stem + "ušas" ; Nom => stem + "ušas" ;
@@ -583,7 +583,7 @@ oper
Dat => stem + "ušām" ; Dat => stem + "ušām" ;
Acc => stem + "ušas" ; Acc => stem + "ušas" ;
Loc => stem + "ušās" ; Loc => stem + "ušās" ;
Voc => NON_EXISTENT Voc => nonExist
} }
} }
} ; } ;
@@ -597,7 +597,7 @@ oper
Dat => stem + "tam" ; Dat => stem + "tam" ;
Acc => stem + "tu" ; Acc => stem + "tu" ;
Loc => stem + "tā" ; Loc => stem + "tā" ;
Voc => NON_EXISTENT -- FIXME: -tais ? Voc => nonExist -- FIXME: -tais ?
} ; } ;
Pl => case c of { Pl => case c of {
Nom => stem + "ti" ; Nom => stem + "ti" ;
@@ -605,7 +605,7 @@ oper
Dat => stem + "tiem" ; Dat => stem + "tiem" ;
Acc => stem + "tus" ; Acc => stem + "tus" ;
Loc => stem + "tos" ; Loc => stem + "tos" ;
Voc => NON_EXISTENT -- FIXME: -tie ? Voc => nonExist -- FIXME: -tie ?
} }
} ; } ;
Fem => case n of { Fem => case n of {
@@ -615,7 +615,7 @@ oper
Dat => stem + "tai" ; Dat => stem + "tai" ;
Acc => stem + "tu" ; Acc => stem + "tu" ;
Loc => stem + "tā" ; Loc => stem + "tā" ;
Voc => NON_EXISTENT -- FIXME: -tā ? Voc => nonExist -- FIXME: -tā ?
} ; } ;
Pl => case c of { Pl => case c of {
Nom => stem + "tas" ; Nom => stem + "tas" ;
@@ -623,7 +623,7 @@ oper
Dat => stem + "tām" ; Dat => stem + "tām" ;
Acc => stem + "tas" ; Acc => stem + "tas" ;
Loc => stem + "tās" ; Loc => stem + "tās" ;
Voc => NON_EXISTENT -- FIXME: -tās ? Voc => nonExist -- FIXME: -tās ?
} }
} }
} ; } ;
@@ -633,37 +633,37 @@ oper
Masc => case n of { Masc => case n of {
Sg => case c of { Sg => case c of {
Nom => stem + "ies" ; Nom => stem + "ies" ;
Gen => NON_EXISTENT ; Gen => nonExist ;
Dat => NON_EXISTENT ; Dat => nonExist ;
Acc => stem + "ušos" ; Acc => stem + "ušos" ;
Loc => NON_EXISTENT ; Loc => nonExist ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => case c of { Pl => case c of {
Nom => stem + "ušies" ; Nom => stem + "ušies" ;
Gen => stem + "ušos" ; Gen => stem + "ušos" ;
Dat => NON_EXISTENT ; Dat => nonExist ;
Acc => stem + "ušos" ; Acc => stem + "ušos" ;
Loc => NON_EXISTENT ; Loc => nonExist ;
Voc => NON_EXISTENT Voc => nonExist
} }
} ; } ;
Fem => case n of { Fem => case n of {
Sg => case c of { Sg => case c of {
Nom => stem + "usies" ; Nom => stem + "usies" ;
Gen => stem + "ušās" ; Gen => stem + "ušās" ;
Dat => NON_EXISTENT ; Dat => nonExist ;
Acc => stem + "ušos" ; Acc => stem + "ušos" ;
Loc => NON_EXISTENT ; Loc => nonExist ;
Voc => NON_EXISTENT Voc => nonExist
} ; } ;
Pl => case c of { Pl => case c of {
Nom => stem + "ušās" ; Nom => stem + "ušās" ;
Gen => stem + "ušos" ; Gen => stem + "ušos" ;
Dat => NON_EXISTENT ; Dat => nonExist ;
Acc => stem + "ušos" ; Acc => stem + "ušos" ;
Loc => NON_EXISTENT ; Loc => nonExist ;
Voc => NON_EXISTENT Voc => nonExist
} }
} }
} ; } ;

View File

@@ -63,7 +63,7 @@ lin
Dat => "kam" ; Dat => "kam" ;
Acc => "ko" ; Acc => "ko" ;
Loc => "kur" ; Loc => "kur" ;
ResLav.Voc => NON_EXISTENT ResLav.Voc => nonExist
} }
} ; } ;

View File

@@ -160,6 +160,4 @@ oper
prefix : pattern Str = #("aiz"|"ap"|"at"|"ie"|"iz"|"no"|"pa"|"pār"|"pie"|"sa"|"uz") ; prefix : pattern Str = #("aiz"|"ap"|"at"|"ie"|"iz"|"no"|"pa"|"pār"|"pie"|"sa"|"uz") ;
NON_EXISTENT : Str = "NON_EXISTENT" ;
} }

View File

@@ -62,7 +62,7 @@ lin
UseSlash t p slash = { s = t.s ++ p.s ++ slash.s ! (Ind t.a t.t) ! p.p ; prep = slash.prep } ; UseSlash t p slash = { s = t.s ++ p.s ++ slash.s ! (Ind t.a t.t) ! p.p ; prep = slash.prep } ;
-- FIXME: placeholder -- FIXME: placeholder
AdvS a s = { s = NON_EXISTENT } ; AdvS a s = { s = nonExist } ;
oper oper
-- TODO: PassV2 verbs jāsaskaņo ar objektu, nevis subjektu (by8means_Prep: AgP3 Sg Masc) -- TODO: PassV2 verbs jāsaskaņo ar objektu, nevis subjektu (by8means_Prep: AgP3 Sg Masc)

View File

@@ -176,7 +176,7 @@ lin
Dat => "kuram" ; Dat => "kuram" ;
Acc => "kuru" ; Acc => "kuru" ;
Loc => "kurā" ; Loc => "kurā" ;
ResLav.Voc => NON_EXISTENT ResLav.Voc => nonExist
} ; } ;
num = Sg num = Sg
} ; } ;
@@ -188,7 +188,7 @@ lin
Dat => "kuriem" ; Dat => "kuriem" ;
Acc => "kurus" ; Acc => "kurus" ;
Loc => "kuros" ; Loc => "kuros" ;
ResLav.Voc => NON_EXISTENT ResLav.Voc => nonExist
} ; } ;
num = Pl num = Pl
} ; } ;
@@ -200,7 +200,7 @@ lin
Dat => "kam" ; Dat => "kam" ;
Acc => "ko" ; Acc => "ko" ;
Loc => "kur" ; Loc => "kur" ;
ResLav.Voc => NON_EXISTENT ResLav.Voc => nonExist
} ; } ;
num = Sg num = Sg
} ; } ;
@@ -212,7 +212,7 @@ lin
Dat => "kam" ; Dat => "kam" ;
Acc => "ko" ; Acc => "ko" ;
Loc => "kur" ; Loc => "kur" ;
ResLav.Voc => NON_EXISTENT ResLav.Voc => nonExist
} ; } ;
num = Pl num = Pl
} ; } ;
@@ -271,12 +271,12 @@ lin
oper oper
reflPron : Case => Str = table { reflPron : Case => Str = table {
Nom => NON_EXISTENT ; Nom => nonExist ;
Gen => "sevis" ; Gen => "sevis" ;
Dat => "sev" ; Dat => "sev" ;
Acc => "sevi" ; Acc => "sevi" ;
Loc => "sevī" ; Loc => "sevī" ;
ResLav.Voc => NON_EXISTENT ResLav.Voc => nonExist
} ; } ;
lai_Subj = ss "lai" ; lai_Subj = ss "lai" ;

View File

@@ -330,7 +330,7 @@ oper
Ind Anter tense => (mkV "būt").s ! finalPol ! (VInd agr.pers agr.num tense) ++ part ; --# notpresent Ind Anter tense => (mkV "būt").s ! finalPol ! (VInd agr.pers agr.num tense) ++ part ; --# notpresent
-- FIXME(?): Rel _ Past => ... -- FIXME(?): Rel _ Past => ...
Rel _ Past => NON_EXISTENT ; --# notpresent Rel _ Past => nonExist ; --# notpresent
Rel Simul tense => v.s ! finalPol ! (VRel tense) ; --# notpresent Rel Simul tense => v.s ! finalPol ! (VRel tense) ; --# notpresent
Rel Anter tense => (mkV "būt").s ! finalPol ! (VRel tense) ++ part ; --# notpresent Rel Anter tense => (mkV "būt").s ! finalPol ! (VRel tense) ++ part ; --# notpresent