1 | static void ai_spec_singularPlural(S s) { |
2 | if (is(s, 'singular) || is(s, 'plural)) ret; |
3 | if (!endsWithLetter(s)) ret; |
4 | if (ewic(s, 's)) { |
5 | post(s, "possibly is", 'plural); |
6 | post(s, "possibly is plural of", dropLast(s)); |
7 | } else |
8 | post(s, "possibly is", 'singular); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012097 |
Snippet name: | ai_spec_singularPlural |
Eternal ID of this version: | #1012097/4 |
Text MD5: | b00c9432d8d28a5477cf694b3b3f9b32 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-06 20:57:52 |
Source code size: | 286 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 542 / 544 |
Version history: | 3 change(s) |
Referenced in: | [show references] |