Download Jar. Libraryless. Click here for Pure Java version (18497L/132K).
!7 p { autoRestart(5); ai_tripleMode(); L<TripleWeb> triples = ai_triplesFromSource("ai_spec_allWords"); print("Have " + nTriple(triples)); new HashSet<S> terms; for (TripleWeb w : triples) terms.add(w.a); print("Have " + nTerm(terms)); print("Removing"); time { tripleIndex().removeTriples(triples); } print("Recreating"); ai_setSubSpace(new AI_SubSpace); for (S term : terms) ai_spec_allWords(term); print("Made " + nWeb(ai_currentSubSpace().numWebs())); }
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: | #1012474 |
| Snippet name: | Check if triples can be recreated by running speculation function again (dev.) |
| Eternal ID of this version: | #1012474/7 |
| Text MD5: | 3f16648e2ea36fe6f0efd6326b242747 |
| Transpilation MD5: | 5d5c3efad56ebbd2f81ed8f250edd5c3 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-03 22:35:55 |
| Source code size: | 522 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 745 / 1837 |
| Version history: | 6 change(s) |
| Referenced in: | #3000512 - Smart Bot's answer to: !eval centralRestartLog_raw() |