FinNLP/en-inflectors

README incorrect

joesanford opened this issue · 2 comments

On the line statinginstanceB.toPlural(); // ellipses (no change) this actually is a change (ellipsis vs. ellipses).

Here's where the instance is created (copied from readme.md)

const instanceB = new Inflectors("ellipses"); // <--- "ellipses"

When you call the method instanceB.toSingular() the method will merely return the the singular form of ellipses which is ellipsis, It won't mutate the any of the class properties.

So I'm referring to "ellipses" (the input that the instance was instantiated with) when I say "no change".

I misread, apologies.