darcs

Patch 316 Handle English nouns that end in y.

Title Handle English nouns that end in y.
Superseder Nosy List abuiles, kowey
Related Issues
Status accepted Assigned To kowey
Milestone

Created on 2010-07-24.16:38:28 by abuiles, last changed 2011-05-10.18:36:11 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
handle-english-nouns-that-end-in-y_.dpatch abuiles, 2010-07-24.16:38:28 text/x-darcs-patch
handle-english-nouns-that-end-in-y_.dpatch abuiles, 2010-07-24.17:50:06 text/x-darcs-patch
unnamed abuiles, 2010-07-24.16:38:28
unnamed abuiles, 2010-07-24.17:50:06
See mailing list archives for discussion on individual patches.
Messages
msg11848 (view) Author: abuiles Date: 2010-07-24.16:38:28
1 patch for repository http://darcs.net:

Sat Jul 24 11:12:25 COT 2010  builes.adolfo@googlemail.com
  * Handle English nouns that end in y.
Attachments
msg11849 (view) Author: abuiles Date: 2010-07-24.17:50:06
1 patch for repository http://darcs.net:

Sat Jul 24 12:27:17 COT 2010  builes.adolfo@googlemail.com
  * Handle English nouns that end in y.
Attachments
msg11878 (view) Author: kowey Date: 2010-07-26.13:06:16
Handle English nouns that end in y.
-----------------------------------
> builes.adolfo@googlemail.com**20100724172717
>  Ignore-this: 49eed82e5949fc0d8e7d2775e9fd50c0
> ] hunk ./src/English.hs 52
>  instance Countable Noun where
>    -- more irregular nouns will just need to have their own type
>    plural (Noun s) | "ch" `isSuffixOf` s = showString s .  showString "es"
> +  plural (Noun s) | "y" `isSuffixOf` s
> +                    && length s > 1
> +                    && not (last (init s) `elem` "aeiou") = showString (init s) .  showString "ies"
>    plural (Noun s) = showString s . showChar 's'
>    singular (Noun s) =  showString s

This version seems fine; applied thanks!

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
For a faster response, please try +44 (0)1273 64 2905.
msg11934 (view) Author: darcswatch Date: 2010-08-03.17:29:37
This patch bundle (with 1 patches) was just applied to the repository http://darcs.net/.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-c802d37c436ef7663c97f075307cc438a52c98c1
msg14085 (view) Author: darcswatch Date: 2011-05-10.18:05:52
This patch bundle (with 1 patches) was just applied to the repository http://darcs.net/reviewed.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-c802d37c436ef7663c97f075307cc438a52c98c1
History
Date User Action Args
2010-07-24 16:38:28abuilescreate
2010-07-24 16:40:09darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-e82b662c5d1b845bf0ab46f3896b2cc1bc0587cc
2010-07-24 17:50:06abuilessetfiles: + handle-english-nouns-that-end-in-y_.dpatch, unnamed
messages: + msg11849
2010-07-24 17:52:05darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-e82b662c5d1b845bf0ab46f3896b2cc1bc0587cc -> http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-c802d37c436ef7663c97f075307cc438a52c98c1
2010-07-25 16:29:50koweysetassignedto: kowey
nosy: + kowey
2010-07-26 13:06:17koweysetmessages: + msg11878
2010-07-26 13:48:14koweylinkpatch313 superseder
2010-08-03 17:29:37darcswatchsetstatus: needs-review -> accepted
messages: + msg11934
2011-05-10 18:05:52darcswatchsetmessages: + msg14085
2011-05-10 18:36:11darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-c802d37c436ef7663c97f075307cc438a52c98c1 -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-e82b662c5d1b845bf0ab46f3896b2cc1bc0587cc