Skip to content

Fixing Issue#141: singular forms of words ending in 'our' and in 'lives'#142

Open
emilhdiaz wants to merge 1 commit intoclips:masterfrom
chicory:issue#141
Open

Fixing Issue#141: singular forms of words ending in 'our' and in 'lives'#142
emilhdiaz wants to merge 1 commit intoclips:masterfrom
chicory:issue#141

Conversation

@emilhdiaz
Copy link
Copy Markdown

The rule 'our': 'my' in singular_irregular was causing many words that end in 'our' (flour, your, sour, colour, etc...) to be incorrectly singularized. This change moves 'our' -> 'my' into a new special list of singular_pronouns so that separate logic can handle these cases.

The rule (r"([nlw]i)ves$" , "\\1fe" ), in singular_rules was causing words that end in 'lives' (olives, etc..) to be incorrectly singularized. The rule is still necessary for the word 'lives' itself but a new rule with higher precedence was added to handle the case of words ending in 'lives'.

@emilhdiaz emilhdiaz changed the title Fixing singular forms of words ending in 'our' and in 'lives' Fixing Issue#141: singular forms of words ending in 'our' and in 'lives' Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant