[ENH] reposted: new String modifier: String>>asPlural

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Tue Jun 29 07:25:46 UTC 2004


  Wow, I wasn't aware that this kind of thing gets into the 3.7 update
stream until today.  I was thinking that it is better for it to reside
out of the main stream image, and somehow imagining that it does a bit
better job anyway...

  'city' asPlural => 'citys'  (facility, lady, ...)
  ('day' asPlural => 'days') (toy, key, ...)

  'fox' asPlural => 'foxs' (box, bus, flash, ...)

  'knife' asPlural => 'knifes.  (wife, wolf, scarf, ...)
  ('roof' asPlural => 'roofs')  (chief, ...)
  'tomato' asPlural => 'tomatos' (potato, ...)
  ('piano' asPlural => 'pianos') (cello, ...)

  'fish' asPlural => 'fishs' (deer, sheep, ...)

  'man' asPlural => 'mans' (child, mouse, foot, ...)

  'stimulus' asPlural => 'stimuluses' (...)

  I guess that learning the irregular plural, (and especially the
rules for irregulars) were important for non-native speakers, but
probably not for the natives...

  Do you guys mind if I take it out from the coming 3.8?

-- Yoshiki

More information about the Squeak-dev mailing list