static Exp nlLogic_rawSentencesToFacts(Exp e) { ret nlLogic_transformShallow(e, nlLogic_rawSentencesToFacts_f()); } static IfThen nlLogic_rawSentencesToFacts(IfThen rule) { ret nlLogic_transformShallow(rule, nlLogic_rawSentencesToFacts_f()); } static F1<Exp> nlLogic_rawSentencesToFacts_f() { ret func(Exp e) -> Exp { if (e instanceof Sentence2) ret Func('fact, e); ret e; }; }
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: | #1018215 |
Snippet name: | nlLogic_rawSentencesToFacts |
Eternal ID of this version: | #1018215/3 |
Text MD5: | 39f9429a4d7e1ce210c0335f3d2cd622 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-10 12:34:30 |
Source code size: | 415 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 330 / 379 |
Version history: | 2 change(s) |
Referenced in: | [show references] |