Skip to content

[Bug]: plural() incorrectly pluralizes certain compound terms #231

@AlessandroMiola

Description

@AlessandroMiola

Hello and kudos for the great library!
I've encountered the following issue, which is breaking my pipeline.

import inflect

_infl = inflect.engine()
_infl.plural("Old technology")   # 'Old technologys'

while

import inflect

_infl = inflect.engine()
_infl.plural("technology")   # 'technologies'

Would you be open to supporting it or do you have a different opinion/view?
I also noticed some issues with pluralizing capitalized terms, but I saw there’s already an open issue for that (#201).

Thank you!

UPDATE

So, I've noticed that the lowered version works, so perhaps the issue falls under the scope of the one referenced above.

import inflect

_infl = inflect.engine()
_infl.plural("old technology")   # 'old technologies'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions