1 | sbool ai_spec_relRewrite_debug; |
2 | |
3 | static void ai_spec_relRewrite(Web web) {
|
4 | for (WebRelation r : web_relationObjects(web)) {
|
5 | S rel = web_text(r); |
6 | L<S> newRels = ai_texts_verified(rel, "[relation] rewrites to", "$X"); |
7 | if (ai_spec_relRewrite_debug) print("ai_spec_relRewrite: " + sfu(newRels));
|
8 | for (S newRel : newRels) |
9 | postDerivedFromWeb(web, web_text(r.a), newRel, web_text(r.b)); |
10 | } |
11 | } |
Began life as a copy of #1011734
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1013496 |
| Snippet name: | ai_spec_relRewrite |
| Eternal ID of this version: | #1013496/5 |
| Text MD5: | 61eee22b0c3533d1296b93b9a0092cd3 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-01-11 16:24:28 |
| Source code size: | 419 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 618 / 653 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |