Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1018149 // Test input[flexMatch] (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (9174L/50K).

!7

p-exp {
  BakedBot bot = bakedBotWithRules([[
    input[flexMatch]($x held a lecture on $bla. what did $x talk about?)       => o($bla)
  ]]);
  setOpt(bot.bot, nlLogic_flexMatch_iterate_debug := true);
  setOptAll(bot.factsBot(), debug := true, useIterate := true);
  
  bot.check("professor x held a lecture on neutrinos. what did professor x talk about?", "neutrinos");
}

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: 330 / 687
Version history: 6 change(s)
Referenced in: [show references]