Libraryless. Click here for Pure Java version (13022L/89K).
static S conceptLanguageToEnglish_xyz_noCrazy(S s) { L<S> tok = javaTokC(s); if (empty(tok)) ret s; S pattern = conceptToNameOpt(first(tok)); if (empty(pattern)) ret s; ret formatXYZ_appendRest(pattern, map(func(S s) -> S { conceptQuote(conceptToName(s)) }, dropFirst(tok))); } static S conceptLanguageToEnglish_xyz(S s) { ret crazyEnglishFixing(conceptLanguageToEnglish_xyz_noCrazy(s)); }
Began life as a copy of #1007164
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: | #1007415 |
Snippet name: | conceptLanguageToEnglish_xyz |
Eternal ID of this version: | #1007415/15 |
Text MD5: | bc7a1aacf8435e5f036d29fcdd0d0561 |
Transpilation MD5: | afaad1dfed08723c60a2ed30179ee560 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-14 21:46:45 |
Source code size: | 412 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 680 / 728 |
Version history: | 14 change(s) |
Referenced in: | [show references] |