1 | sS nlLogic_applySimplePhraseReplacementRule(S s, IfThen rule) {
|
2 | S in = nlLogic_funcArgText(rule.in, 'phrase); |
3 | if (in == null) ret s; |
4 | S out = nlLogic_funcArgText(rule.out, 'phrase); |
5 | if (out == null) ret s; |
6 | ret replacePhrase(s, in, out); |
7 | } |
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: | 547 / 546 |
| Referenced in: | [show references] |