Skip to content

Is there a way of handling collective nouns #22

@danielneal

Description

@danielneal

e.g.

Group of plants => groups of plants
Box of eggs => boxes of eggs

It doesn't look possible to add via the standard add-rule! because that needs a static replacement, whereas the logic is something along the lines of #"(?i)(.+) of (.+)" => (fn [[$1 $2]] (str (plural $1) " of " $2)).

Any ideas? For now I can just add exact matches.

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