Download Jar. Libraryless. Click here for Pure Java version (15655L/116K).
1 | !7 |
2 | |
3 | p-exp {
|
4 | RuleFailInfo fail = first(nlLogic_ruleFails(nlLogicCheckerWithStandardFactsPlus("i saw a kid eat grass"), ll(ai_getRule('zrpcdxxfqzgdkzof))));
|
5 | print(fail); |
6 | |
7 | //set nlLogic_unresolvedFactsToQuestions_debug; |
8 | //set ai_deriveOutput_debug; |
9 | //NLLogicChecker_v2.staticVerbose = true; |
10 | |
11 | Collection<S> questions = nlLogic_unresolvedFactsToQuestions(fail); |
12 | print(); |
13 | pnl(questions); |
14 | print(); |
15 | |
16 | assertTrueVerbose(nempty(questions)); |
17 | } |
Began life as a copy of #1018074
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018077 |
| Snippet name: | Test generating question after rule fail (OK) |
| Eternal ID of this version: | #1018077/10 |
| Text MD5: | bb146db13926a4c5cd62510f5658d158 |
| Transpilation MD5: | a0d157c79860ee2df9ffe23804a4da40 |
| 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-08-29 15:56:40 |
| Source code size: | 473 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 789 / 1758 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |