Download Jar. Libraryless. Click here for Pure Java version (18497L/132K).
1 | !7 |
2 | |
3 | p {
|
4 | autoRestart(5); |
5 | ai_tripleMode(); |
6 | L<TripleWeb> triples = ai_triplesFromSource("ai_spec_allWords");
|
7 | print("Have " + nTriple(triples));
|
8 | new HashSet<S> terms; |
9 | for (TripleWeb w : triples) terms.add(w.a); |
10 | print("Have " + nTerm(terms));
|
11 | |
12 | print("Removing");
|
13 | time {
|
14 | tripleIndex().removeTriples(triples); |
15 | } |
16 | |
17 | print("Recreating");
|
18 | ai_setSubSpace(new AI_SubSpace); |
19 | for (S term : terms) |
20 | ai_spec_allWords(term); |
21 | print("Made " + nWeb(ai_currentSubSpace().numWebs()));
|
22 | } |
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: | 747 / 1843 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |