Hrv: fixes in MorphoDict generation

This commit is contained in:
Aarne Ranta
2022-10-12 10:50:52 +02:00
parent c20e9b6383
commit 43a742c91e
4 changed files with 12226 additions and 143 deletions

View File

@@ -439,7 +439,8 @@ adjFormsAdjective : AdjForms -> Adjective = \afs -> {
u = case last cita of { u = case last cita of {
"a" => "aju" ; "a" => "aju" ;
"e" => "u" ; "e" => "u" ;
"i" => "e" "i" => "e" ;
_ => "e" ---- should not happen
} ; } ;
cital = init citao + "l" ; cital = init citao + "l" ;
in table { in table {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -40,7 +40,8 @@ ADJ_FORMS = {
'singular': { 'singular': {
'nominative': 'msnom', 'nominative': 'msnom',
'genitive': 'msgen', 'genitive': 'msgen',
'dative': 'msdat' 'dative': 'msdat',
'instrumental': 'msins'
}, },
'plural': { 'plural': {
'nominative': 'mpnom', 'nominative': 'mpnom',
@@ -224,7 +225,7 @@ def print_gf_code(data, i):
'name': ('PN', 7), 'name': ('PN', 7),
'noun': ('N', 11), 'noun': ('N', 11),
'adj': ('A', 13), 'adj': ('A', 13),
'verb': ('V', 12) 'verb': ('V', 13)
} }
pos = data[lemma]['pos'] pos = data[lemma]['pos']