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

Singular of Hypnosis is Hypnosis #172

Open
kobaj opened this issue Apr 17, 2021 · 1 comment
Open

Singular of Hypnosis is Hypnosis #172

kobaj opened this issue Apr 17, 2021 · 1 comment

Comments

@kobaj
Copy link

kobaj commented Apr 17, 2021

const pluralize = require('pluralize');
console.log(pluralize.singular("hypnosis")); // hypnosi
@cirosantilli
Copy link

cirosantilli commented Jun 5, 2022

Yes, everything that ends in -osis, -esis, -ose is broken. These are important greek suffixes, and appear widely in scientific nomemclature. Tuberculosis, basis, endosymbiose, electrophorese, apoptosis, etc.

One thing that is particularly bad is that in those cases, pluralize 1 vs 2 does not do the reverse operation:

> pluralize('tuberculosis', 1)
'tuberculosi'
> pluralize('tuberculosis', 2)
'tuberculoses'
> pluralize('tuberculoses', 2)
'tuberculoses'
> pluralize('tuberculoses', 1)
'tuberculose'
>

so we have tuberculosis 2 -> tuberculoses and tuberculoses 1 -> tuberculose.

"pluralize": "8.0.0".

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

2 participants