.NETPortable,Version=v4.5,Profile=Profile111but the NuGet packages do not show up under references and Intellisense is filling the error log with messages as though the packages were not referenced.
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profilefolder
ifstatement though. You could do something similar:
var tryPlural = word.Pluralize(); var wordWithToggledPlurality = tryPlural == word ? word.Singularize() : tryPlural;
How am I to know if it matters?
Every time I have used Humanizer, I know the word(s) at compile time. Or I'm humanizing a type name (always singular) and sending it through. I think that's the typical use case. I can't speak for the Humanizer team but my perception was that this library isn't intended to be used for advanced linguistics, just to make computer-human interactions a bit more polished.
Yeah, that makes sense. We currently use the .NET PluraizationService to help with name suggestion. We're trying to "spin" various names based on whatever a user inputs and, of course, we don't know if they enter singular or plural word(s).
I'm also interested in finding, if possible, a dictionary of words and their plurals to test the .NET implementation vs. Humanizer or other libraries to see if I should prefer one over the other.
After finding the library, I do intend to use it for other things, such as those you mentioned rather than just these more advanced linguistic tasks.
childrenand the pluralizer incorrectly generates
childrens(I don't know if this happens or not), the
inputIsKnownToBeSingularparameter causes Humanizer to check itself.