Uses 11335K of libraries. Click here for Pure Java version (11083L/74K).
sS ai_ruleOfThree_solver_3(S db, S input) { ret fixAOrAn(too_transformInput(input, too -> { // load rules too.addAll(lambdaMap ai_parseBasicLogicRule(tlft(db))); // turn words appearing in LHS and RHS into variables too.addTransformer(f<BasicLogicRule<S>, O> ai_sharedPhrasesIntoDollarVars); // match input with rules too_flexMatchRulesToTransformInput(too); })); }
Began life as a copy of #1028827
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028917 |
Snippet name: | ai_ruleOfThree_solver_3 - like solver_1 but with shared phrases instead of words |
Eternal ID of this version: | #1028917/2 |
Text MD5: | b075fd99600422a7a08dd0aef54c8c91 |
Transpilation MD5: | 220de88c5986a926404c44a638843d6d |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-11 21:59:36 |
Source code size: | 410 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 253 / 363 |
Version history: | 1 change(s) |
Referenced in: | [show references] |