Skip to content

Commit

Permalink
Patch 3 (#64)
Browse files Browse the repository at this point in the history
* Update rules.yml

Fix for female -жая

* Update rules.json

Fix for female -жая

* fix conflict

* remove tab

* Fix for male -ок, -ек

При склонении мужских фамилий, оканчивающихся на -ок, -ек, гласный о/е сохраняется
  • Loading branch information
nixprosoft authored Nov 15, 2024
1 parent c7c863d commit b5b4f81
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
26 changes: 20 additions & 6 deletions rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,19 @@
"--ем"
]
},
{
"gender": "female",
"test": [
"жая"
],
"mods": [
"--ей",
"--ей",
"--ую",
"--ей",
"--ей"
]
},
{
"gender": "female",
"test": [
Expand Down Expand Up @@ -580,14 +593,15 @@
{
"gender": "male",
"test": [
"ок"
"ок",
"ек"
],
"mods": [
"--ка",
"--ку",
"--ка",
"--ком",
"--ке"
"а",
"у",
"а",
"ом",
"е"
]
},
{
Expand Down
13 changes: 9 additions & 4 deletions rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ lastname:
# Горячий
- gender: male
test: [чий]
mods: [--его, --ему, --его, --им, --ем]
mods: [--его, --ему, --его, --им, --ем]

# Захожая
- gender: female
test: [жая]
mods: [--ей, --ей, --ую, --ей, --ей]

# Дубовицкая, Суперанская, Лесная, Барановская
- gender: female
Expand Down Expand Up @@ -194,10 +199,10 @@ lastname:
test: [ий]
mods: [-я, -ю, -я, -ем, -и]

# Починок
# При склонении фамилий, оканчивающихся на -ок, -ек, гласный о/е сохраняется.
- gender: male
test: [ок]
mods: [--ка, --ку, --ка, --ком, --ке]
test: [ок, ек]
mods: [а, у, а, ом, е]

# Кобец, Швец, Львец
- gender: male
Expand Down

0 comments on commit b5b4f81

Please sign in to comment.