sS nlLogic_applySimplePhraseReplacementRule(S s, IfThen rule) { S in = nlLogic_funcArgText(rule.in, 'phrase); if (in == null) ret s; S out = nlLogic_funcArgText(rule.out, 'phrase); if (out == null) ret s; ret replacePhrase(s, in, out); }
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: | #1018265 |
Snippet name: | nlLogic_applySimplePhraseReplacementRule |
Eternal ID of this version: | #1018265/1 |
Text MD5: | fa17acadec7b4b010a29bc13380c2c71 |
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-12 23:39:48 |
Source code size: | 253 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 303 / 318 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1018267 - nlLogic_applySimplePhraseReplacementRules |