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

Should be able to call Singularize and Pluralize on singular and plural words respectively #38

Closed
MehdiK opened this issue Dec 30, 2013 · 0 comments · Fixed by #43
Closed
Labels

Comments

@MehdiK
Copy link
Member

MehdiK commented Dec 30, 2013

Currently calling Singularize on a singular word returns null or an incorrect value (e.g. "Process".Singularize() => "Proces". Same goes for Pluralize on a plural word (e.g. "men".Pluralize() => "mens")

Ideally we need to implement IsPlural and/or IsSingular extension methods. This way we can fix this issue using the methods and the users of the framework can use the new methods to check a word without having to call Singularize or Pluralize on it.

robdmoore added a commit to robdmoore/Humanizer that referenced this issue Dec 30, 2013
…at passes all existing test cases - there may be others that don't pass though?

Fixes Humanizr#38
MehdiK added a commit that referenced this issue Dec 30, 2013
@MehdiK MehdiK mentioned this issue Dec 31, 2013
@MehdiK MehdiK closed this as completed in #43 Jan 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant