static L<WebRelation> web_dropConfirmedPossibles(L<WebRelation> l) { if (empty(l)) ret l; new HashSet<T3<S>> index; for (WebRelation r : l) index.add(tripleToLower(web_relationToTriple(r))); new Matches m; L<WebRelation> out = emptyListWithCapacity(l); for (WebRelation r : l) if (!(swic(web_text(r), "possibly ", m) && index.contains( tripleToLower(t3(web_text(r.a), m.rest(), web_text(r.b)))))) out.add(r); ret out; }
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: | #1012098 |
Snippet name: | web_dropConfirmedPossibles |
Eternal ID of this version: | #1012098/4 |
Text MD5: | 49c4233893af61cc6617090bd51a1f73 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-23 19:44:31 |
Source code size: | 465 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 484 / 477 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |