Download Jar. Libraryless. Click here for Pure Java version (9174L/50K).
1 | !7 |
2 | |
3 | p-exp {
|
4 | BakedBot bot = bakedBotWithRules([[ |
5 | input[flexMatch]($x held a lecture on $bla. what did $x talk about?) => o($bla) |
6 | ]]); |
7 | setOpt(bot.bot, nlLogic_flexMatch_iterate_debug := true); |
8 | setOptAll(bot.factsBot(), debug := true, useIterate := true); |
9 | |
10 | bot.check("professor x held a lecture on neutrinos. what did professor x talk about?", "neutrinos");
|
11 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018149 |
| Snippet name: | Test input[flexMatch] (OK) |
| Eternal ID of this version: | #1018149/7 |
| Text MD5: | 063d3a6c5d64859aae11b61a3b732f01 |
| Transpilation MD5: | 15248c66931ebe2184f005640240db35 |
| 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-09-03 00:30:46 |
| Source code size: | 388 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 677 / 1473 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |