You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not obvious to me whether the behavior you expect is desirable or not. I can definitely see how in some cases you would want to inflect a capitalized word. Other times, the word might be part of a title or proper name and shouldn't be pluralized.
I thought I'd check, and it seems the library does seem to treat title case differently:
>>> p.singular_noun('Nine Inch Nails')
'Nine Inch Nail'
>>> p.plural('Nine Inch Nail')
'Nine Inch Nails'
My guess is that inflect would need to do some case-insensitive matching if it were to implement handling words in title case. I don't know what other assumptions might be violated.
Found a strange issue when trying to retrieve the plural of property, using either plural() or plural_noun():
I looked through the documentation, but didn't see any notes about why this would be.
I think the plural of property, whether capitalized or not, should be properties.
The text was updated successfully, but these errors were encountered: