Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1023089 // switcheroo_iToThey (incomplete, needs verb translation)

JavaX fragment (include)

1  
sS switcheroo_iToThey(S s) {
2  
  SS map = mapValues(mechMap("Switcheroo I -> he"), func(S s) -> S {
3  
    replaceWords(s, "he", "they", "him", "them", "his", "their", "himself", "themselves")
4  
  });
5  
  ret translateUsingWordTree(s, mapToWordTree(map));
6  
}

Author comment

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: #1023089
Snippet name: switcheroo_iToThey (incomplete, needs verb translation)
Eternal ID of this version: #1023089/3
Text MD5: 202e901bdf8edeb8dce15b21e26057f8
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:40:25
Source code size: 253 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 251 / 289
Version history: 2 change(s)
Referenced in: [show references]