Download Jar. Libraryless. Click here for Pure Java version (14683L/101K).
1 | !7 |
2 | |
3 | p { |
4 | new WebThoughtSpace ts; |
5 | ts.addWeb(webFromTriple("a sentence", "is", "a string of words")); |
6 | printStruct(ts); |
7 | |
8 | //ai_applyWebFunctionToThoughtSpace(f web_reverseIs_ask); |
9 | |
10 | for (WebRelation r : thoughtSpace_search_dollarXY(ts, "$X", "is", "$Y")) { |
11 | thoughtSpace_addQuestionTriple(ts, web_text(r.b), "is?", web_text(r.a)); |
12 | } |
13 | |
14 | printWebs(ts.webs); |
15 | } |
Began life as a copy of #1011346
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: | #1011352 |
Snippet name: | Test Reasoning In WebThoughtSpace [dev.] |
Eternal ID of this version: | #1011352/5 |
Text MD5: | 79f514ff69e46ceb2e844cbca755a755 |
Transpilation MD5: | 81ba2cd63a1bccae89abf0e9c0ee11bf |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-25 22:17:11 |
Source code size: | 386 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 518 / 1080 |
Version history: | 4 change(s) |
Referenced in: | [show references] |