alexharri / beygla

Tiny (5kB gzipped) declension helper for Icelandic names.
MIT License
28 stars 2 forks source link

For names that can also be identified as a noun the declension is wrong if they are not the same for the name and noun #11

Closed thoreyjona closed 11 months ago

thoreyjona commented 11 months ago

Some names also fall into a category of a noun. For example the names Eldey, Hafrún and Sóley. The declension for the name and noun are different and the beygla package seems to return the declension for the noun, not the name in these cases.

Example: The declension of the name Sóley is: Sóley - Sóleyju - Sóleyju - Sóleyjar The declension of the noun Sóley is: Sóley - Sóley -Sóley - Sóleyjar

beygla returns the later one which is not correct.