Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong declension of word “лёд” #8

Open
shoorick opened this issue Nov 18, 2020 · 0 comments
Open

Wrong declension of word “лёд” #8

shoorick opened this issue Nov 18, 2020 · 0 comments

Comments

@shoorick
Copy link
Owner

Letter Ё in word «лёд» must be replaced with soft sign Ь, but similar words must keep this letter:

  • лёд → льда
  • гололёд → гололёда
$ perl -CS -MLingua::RU::Inflect=:all -ne 'chomp; for my $case (NOMINATIVE .. PREPOSITIONAL) { print join(" ", inflect_given_name($case, $_, "", "")), "\t" } print "\n"'
Лёд
Лёд  	Лёда  	Лёду  	Лёда  	Лёдом  	Лёде  	
Мёд
Мёд  	Мёда  	Мёду  	Мёда  	Мёдом  	Мёде  	
Гололёд
Гололёд  	Гололёда  	Гололёду  	Гололёда  	Гололёдом  	Гололёде  	

How to solve

Add exception to declension rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant