1 | sS switcheroo_iToShe(S s) {
|
2 | SS map = mapValues(mechMap("Switcheroo I -> he"), func(S s) -> S {
|
3 | replaceWords(s, "he", "she", "him", "her", "his", "her", "himself", "herself") |
4 | }); |
5 | ret translateUsingWordTree(s, mapToWordTree(map)); |
6 | } |
Began life as a copy of #1023080
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: | #1023086 |
| Snippet name: | switcheroo_iToShe |
| Eternal ID of this version: | #1023086/1 |
| Text MD5: | 8db0a63dbaa3d64835897a352ddc72cc |
| 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:34:07 |
| Source code size: | 245 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 489 / 509 |
| Referenced in: | [show references] |