Skip to content

Commit

Permalink
Integrate nouns-russian-homographs into regular nouns.
Browse files Browse the repository at this point in the history
  • Loading branch information
rueter committed Feb 10, 2024
1 parent 35a553d commit 3513527
Show file tree
Hide file tree
Showing 7 changed files with 319 additions and 314 deletions.
3 changes: 1 addition & 2 deletions src/fst/morphology/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ GT_LEXC_SRCS_L1_L2=\
stems/exceptions.lexc \
stems/gerunds.lexc \
stems/interjections.lexc \
stems/nouns-russian-homographs.lexc \
stems/nouns-regular.lexc \
stems/nouns.lexc \
stems/nouns_newwords.lexc \
stems/numerals.lexc \
stems/particles.lexc \
Expand Down
15 changes: 11 additions & 4 deletions src/fst/morphology/affixes/nouns.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,19 @@ LEXICON N_LA
LEXICON N-VYV ! тулысвыв The Russian is an adverbial phrase
+Der+Der/выв: NMN_ ;

LEXICON Noun1-F !
LEXICON N_rus100 ! Homographs
+Src/F: NMN_ ;
LEXICON N_ruskpv ! Komi-like Russian words
+Src/F: NMN_ ;

LEXICON N_rus100_hasnat ! Homographs
+Src/F: NMN_ ;
LEXICON N_ruskpv_hasnat ! Komi-like Russian words
+Src/F: NMN_ ;


LEXICON Noun1-R-RY !
+Use/NG+Err/Orth:ь NMN_ ; ! This deals with январь
NMN_ ; ! This is the new proper spelling январ
LEXICON N_ruskpv_R_RY_hasnat !
+Use/NG+Err/Orth: NMN_ ; ! This deals with январь

LEXICON Noun1-SYT-STY !
+Use/NG+Err/Orth:ть NMN_ ; ! This deals with гӧсть
Expand Down
2 changes: 1 addition & 1 deletion src/fst/morphology/affixes/propernouns.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ LEXICON PROP_
@U.Cap.Obl@+Pl:@U.Cap.Obl@%>ъяс CASEPOSSLEX ; !Reinstalling plural morphology 2019-06-03

LEXICON Prop-R-RY
: Noun1-R-RY ; ! This will bring about problems with ordering 2012-02-07
: N_ruskpv_R_RY_hasnat ; ! This will bring about problems with ordering 2012-02-07

!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ## Russian type Surnames
Expand Down
3 changes: 1 addition & 2 deletions src/fst/morphology/root.lexc
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ LEXICON Root
interjections ; !!≈ * @CODE@
! nouns-deverbal ; !!≈ * @CODE@
nouns ; !!≈ * @CODE@
nouns-russian-homographs ; !!≈ * @CODE@
! nouns-russian-homographs ; !!≈ * @CODE@
numerals ; !!≈ * @CODE@
particles ; !!≈ * @CODE@
pronouns ; !!≈ * @CODE@
Expand Down Expand Up @@ -907,7 +907,6 @@ LEXICON ABS_
LEXICON R
!! @LEXNAME@
+Cmp#:%-# nouns ;
+Cmp#:%-# nouns-russian-homographs ;
!+Cmp#:%-# nouns-deverbal ;

LEXICON Serial-Verbs
Expand Down
283 changes: 0 additions & 283 deletions src/fst/morphology/stems/nouns-russian-homographs.lexc

This file was deleted.

Loading

0 comments on commit 3513527

Please sign in to comment.