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

7
LINES

< > BotCompany Repo | #1013217 // ai_networking_putChemistryTermsInSmartBotDB

JavaX fragment (include)

svoid ai_networking_putChemistryTermsInSmartBotDB() {
  for (S term, L<S> defs : chemistryTermsFromWikipedia()) {
    post(term, "is", "a chemistry term");
    defs.remove("-");
    post_multi(term, "is", map(curry(f dropPrefix, "-"), defs));
  }
}

Author comment

Began life as a copy of #1013204

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: #1013217
Snippet name: ai_networking_putChemistryTermsInSmartBotDB
Eternal ID of this version: #1013217/3
Text MD5: 2fc828d6cd7eb256bed62813080e1333
Author: stefan
Category: javax / a.i. / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-28 22:07:22
Source code size: 254 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 373 / 412
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)