From e0572d44d7f77d998b0f037b1c6882ead89a8bd8 Mon Sep 17 00:00:00 2001 From: Jack Rueter Date: Mon, 28 Oct 2024 09:41:11 +0200 Subject: [PATCH] New wiring for tags and inflection --- src/fst/morphology/affixes/adverbs.lexc | 5 +++++ src/fst/morphology/affixes/propernouns.lexc | 2 ++ src/fst/morphology/stems/exceptions.lexc | 4 +++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/fst/morphology/affixes/adverbs.lexc b/src/fst/morphology/affixes/adverbs.lexc index 845f703c..63a8708b 100644 --- a/src/fst/morphology/affixes/adverbs.lexc +++ b/src/fst/morphology/affixes/adverbs.lexc @@ -12,6 +12,11 @@ LEXICON ADV_DEG !!= @CODE@ пяк LEXICON ADV_ !!= @CODE@ : K ; +LEXICON ADV_CAN_TAKE_PRTSG3 +! Used with modal adverbs: нельзя, можна +COPULA-PRT-30 ; + K ; + LEXICON ADV_MOD !!= @CODE@ : K ; LEXICON ADV_MANNER !!= @CODE@ diff --git a/src/fst/morphology/affixes/propernouns.lexc b/src/fst/morphology/affixes/propernouns.lexc index 1115e37b..4935ee49 100644 --- a/src/fst/morphology/affixes/propernouns.lexc +++ b/src/fst/morphology/affixes/propernouns.lexc @@ -19,6 +19,8 @@ LEXICON PROP_SARAZ LEXICON PROP-VOC_KIAJ +Voc:%^Devoice%^Ь2ZERO%>кяй ENDLEX ; +LEXICON PROP_KAL_rusmdf ++Use/Colloq: PROP_KAL ; LEXICON PROP_KAL_rus100 +Use/SpellNoSugg: PROP_KAL ; LEXICON PROP_KAL diff --git a/src/fst/morphology/stems/exceptions.lexc b/src/fst/morphology/stems/exceptions.lexc index a03455bc..f23988c5 100644 --- a/src/fst/morphology/stems/exceptions.lexc +++ b/src/fst/morphology/stems/exceptions.lexc @@ -10,6 +10,8 @@ LEXICON EXCEPTIONS !терьхконе+N:терьхконе е:я new contlex? !! MISSING ADV +например+Adv:например ADV_ ; + организационна+Adv:организационна ADV_ ; сельмоведеньбачк+Adv:сельмоведеньбачк ADV_ ; сельмоведьбачк+Adv:сельмоведьбачк ADV_ ; @@ -202,7 +204,7 @@ cамс+V+Ind+Prs+ScSg2:саят K ; роди+Adv:роди ADV_ ; давай+Pcle:давай PCLE_ ; валом-валом+Adv:валом-валом ADV_ ; -можна+Adv:можна ADV_ ; +можна+Adv:можна ADV_CAN_TAKE_PRTSG3 ; тожа+Adv:тожа ADV_ ; ах+Interj:ах INTERJ_ ; у-у+Interj:у-у INTERJ_ ;