Skip to content

Commit

Permalink
Add additional irregular pluralizations to inflector config. Remove e…
Browse files Browse the repository at this point in the history
…ntries handled by inflector logic. Addresses #4322.

Adds:
- appendix
- cactus
- calf
- crisis
- criterion
- curriculum
- diagnosis
- elf
- ellipsis
- foot
- hoof
- hypothesis
- knife
- life
- loaf
- nucleus
- oasis
- octopus
- paralysis
- parenthesis
- phenomenon
- potato
- quiz
- radius
- scarf
- stimulus
- syllabus
- synthesis
- thief
- tooth
- wharf
- wife

Removes:
- clothes
- course
- expense
- movie
- purchase
- size
- verse
  • Loading branch information
Jordan Thomas authored and kiall committed Dec 28, 2011
1 parent e36c698 commit eedefa1
Showing 1 changed file with 38 additions and 13 deletions.
51 changes: 38 additions & 13 deletions config/inflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,48 @@
),

'irregular' => array(
'appendix' => 'appendices',
'cactus' => 'cacti',
'calf' => 'calves',
'child' => 'children',
'clothes' => 'clothing',
'crisis' => 'crises',
'criterion' => 'criteria',
'curriculum' => 'curricula',
'diagnosis' => 'diagnoses',
'elf' => 'elves',
'ellipsis' => 'ellipses',
'foot' => 'feet',
'goose' => 'geese',
'hero' => 'heroes',
'hoof' => 'hooves',
'hypothesis' => 'hypotheses',
'is' => 'are',
'knife' => 'knives',
'leaf' => 'leaves',
'life' => 'lives',
'loaf' => 'loaves',
'man' => 'men',
'movie' => 'movies',
'person' => 'people',
'woman' => 'women',
'mouse' => 'mice',
'goose' => 'geese',
'nucleus' => 'nuclei',
'oasis' => 'oases',
'octopus' => 'octopi',
'ox' => 'oxen',
'leaf' => 'leaves',
'course' => 'courses',
'size' => 'sizes',
'paralysis' => 'paralyses',
'parenthesis' => 'parentheses',
'person' => 'people',
'phenomenon' => 'phenomena',
'potato' => 'potatoes',
'quiz' => 'quizzes',
'radius' => 'radii',
'scarf' => 'scarves',
'stimulus' => 'stimuli',
'syllabus' => 'syllabi',
'synthesis' => 'syntheses',
'thief' => 'thieves',
'tooth' => 'teeth',
'was' => 'were',
'is' => 'are',
'verse' => 'verses',
'hero' => 'heroes',
'purchase' => 'purchases',
'expense' => 'expenses',
'wharf' => 'wharves',
'wife' => 'wives',
'woman' => 'women',
),
);

0 comments on commit eedefa1

Please sign in to comment.