sS switcheroo_iToIt(S s) { SS map = mapValues(mechMap("Switcheroo I -> he"), func(S s) -> S { replaceWords(s, "he", "it", "him", "it", "his", "its", "himself", "itself") }); ret translateUsingWordTree(s, mapToWordTree(map)); }
Began life as a copy of #1023086
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023087 |
Snippet name: | switcheroo_iToIt |
Eternal ID of this version: | #1023087/1 |
Text MD5: | c4dd65d51e9d3079a571209389ebd1da |
Author: | stefan |
Category: | nl |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-02 21:37:54 |
Source code size: | 241 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 221 / 254 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |