static SS ai_negateVerbPhrase_map = litcimap( "am", "am not", "are", "are not", "is", "is not", "has", "doesn't have", "have", "don't have", ); static S ai_negateVerbPhrase(S s) { try answer ai_negateVerbPhrase_map.get(s); ret isThirdPersonVerb(s) ? "doesn't " + s : "don't " + s; }
Began life as a copy of #1012297
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: | #1012298 |
Snippet name: | ai_negateVerbPhrase - does to doesn't etc. |
Eternal ID of this version: | #1012298/1 |
Text MD5: | 67b0306ddd6b2f7a655a338929f8afec |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-27 13:15:23 |
Source code size: | 308 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 475 / 469 |
Referenced in: | [show references] |