Download Jar. Libraryless. Click here for Pure Java version (21226L/153K).
!7 p { ai_tripleMode(); ai_downloadRelations("is an answer pattern for"); L<T3<S>> seeds = ll( t3(quote("How old is John?"), "should be", "answered"), t3("John", "was", "born on day 123"), t3("it", "today is", "day 456")); L<T3<S>> lookingFor = ll(t3("Answer", "is", "$X")); Pair<AI_SubSpace, S> p = ai_solveQuestionInSubSpace_noTimeOut2(seeds, lookingFor, f calcStep); ai_printSubSpace(p.a); print("Answer: " + p.b); } svoid calcStep { ai_spec_answerPattern(); ai_spec_daysOld(); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012417 |
Snippet name: | Test ai_spec_answerPattern (OK) |
Eternal ID of this version: | #1012417/16 |
Text MD5: | 0d50deca45fb12ddc36b77a105806f0e |
Transpilation MD5: | 789f56a53cae09e2e600316e4514de69 |
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-12-03 17:10:20 |
Source code size: | 536 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 568 / 1422 |
Version history: | 15 change(s) |
Referenced in: | -