Download Jar. Libraryless. Click here for Pure Java version (21226L/153K).
1 | !7 |
2 | |
3 | p { |
4 | ai_tripleMode(); |
5 | ai_downloadRelations("is an answer pattern for"); |
6 | |
7 | L<T3<S>> seeds = ll( |
8 | t3(quote("How old is John?"), "should be", "answered"), |
9 | t3("John", "was", "born on day 123"), |
10 | t3("it", "today is", "day 456")); |
11 | L<T3<S>> lookingFor = ll(t3("Answer", "is", "$X")); |
12 | Pair<AI_SubSpace, S> p = ai_solveQuestionInSubSpace_noTimeOut2(seeds, lookingFor, f calcStep); |
13 | ai_printSubSpace(p.a); |
14 | print("Answer: " + p.b); |
15 | } |
16 | |
17 | svoid calcStep { |
18 | ai_spec_answerPattern(); |
19 | ai_spec_daysOld(); |
20 | } |
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: | 567 / 1422 |
Version history: | 15 change(s) |
Referenced in: | [show references] |