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

5
LINES

< > BotCompany Repo | #1024432 // agiBlue_translateInSlice - translate sentence using "means" entries in a given slice

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3953L/26K).

sS agiBlue_translateInSlice(S sliceID, S text) {
  ret join(mapCodeTokens(func(S word) -> S {
    or2(agiBlue_lookupInSlice(sliceID, word, "means"), word)
  }, javaTok(text)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1024432
Snippet name: agiBlue_translateInSlice - translate sentence using "means" entries in a given slice
Eternal ID of this version: #1024432/1
Text MD5: 5c5d49072fb333757b12ad3dc3ed952a
Transpilation MD5: e56ca6ad361808eef83829499ca9c7e4
Author: stefan
Category: javax / agi.blue
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-12 16:10:14
Source code size: 182 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 224
Referenced in: [show references]