Download Jar. Libraryless. Click here for Pure Java version (16514L/123K).
1 | !7 |
2 | |
3 | p-exp {
|
4 | L<IfThen> rules = ai_parseRulesWithMacros(mL_raw("Rules BB"));
|
5 | |
6 | // Meta |
7 | rules = nlLogic_applyMetaRules(rules); |
8 | pnl(rules); |
9 | |
10 | // Concrete |
11 | S input = "was kostet der eintritt yo"; |
12 | nlLogic_evalExp_verbose = false; |
13 | temp tempSetTL(nlLogic_processInputOrFact_allowUnsafeEvals, true); |
14 | L<ExecutedRule> results = nlLogic_processInputOrFact(input, false, pair(rules, (L<S>) null)); |
15 | pnl(nlLogic_outputFromExecutedRules(new LinkedHashSet, results)); |
16 | } |
Began life as a copy of #1018285
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: | #1018294 |
| Snippet name: | Process Rules BB Spike [shortened, OK] |
| Eternal ID of this version: | #1018294/2 |
| Text MD5: | 260a7465f1aa9974dda8b0b771bf6c11 |
| Transpilation MD5: | 5086c85d7874df7c89156d813e3b92e2 |
| 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-16 12:31:29 |
| Source code size: | 488 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 719 / 1619 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |