1 | static ActualThoughtSpace openThoughtSpaceFromDB(S name) { |
2 | S prefix = "[" + deSquareBracket(trim(name)) + "] "; |
3 | Collection<S> terms = allIndexedFullTermsStartingWith(prefix); |
4 | ActualThoughtSpace ts = newThoughtSpace(); |
5 | for (S rel : terms) |
6 | for (TripleWeb w : ai_globalTriplesWithB(rel)) |
7 | postDerived(w, w.a, dropPrefix(prefix, w.b), w.c); |
8 | ret ts; |
9 | } |
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: | #1013583 |
Snippet name: | openThoughtSpaceFromDB [dev.] |
Eternal ID of this version: | #1013583/3 |
Text MD5: | 15fe2d8bf3b5bf1c703f91e17ed03fc0 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-11 12:51:32 |
Source code size: | 373 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 480 |
Version history: | 2 change(s) |
Referenced in: | [show references] |