Download Jar. Libraryless. Click here for Pure Java version (7150L/52K).
1 | !7 |
2 | |
3 | p-exp { |
4 | new NLLogicChecker_v1 c; |
5 | c.facts.add("the opposite of old is new"); |
6 | c.input = "what is the opposite of old"; |
7 | |
8 | NLLogicChecker_v1.Matching m = new NLLogicChecker_v1.Matching(); |
9 | print("checks out", c.checkRule(nlLogic_parseRule([[ |
10 | input(What is the opposite of old?) |
11 | && fact(The opposite of old is new) |
12 | => output(The opposite of old is new) |
13 | ]]), m)); |
14 | pnlStruct(m.output); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017581 |
Snippet name: | Test NLLogicChecker_v1 (OK) |
Eternal ID of this version: | #1017581/4 |
Text MD5: | 824782963451514d3a94e25f1919497b |
Transpilation MD5: | 027370fe3762c4910e05b0943dba9010 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-28 11:58:15 |
Source code size: | 424 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 413 / 1078 |
Version history: | 3 change(s) |
Referenced in: | [show references] |