Download Jar. Libraryless. Click here for Pure Java version (17917L/126K).
1 | !7 |
2 | |
3 | p {
|
4 | MultiMap<S> relations = ciMultiMap(); |
5 | |
6 | ai_tripleMode(); |
7 | for (TripleWeb t : indexedTriples()) {
|
8 | if (isNoun(t.a) && isNoun(t.b)) {
|
9 | relations.setPut(t.a, t.b); |
10 | relations.setPut(t.b, t.a); |
11 | } |
12 | } |
13 | |
14 | pnl(multiMapToMap(relations)); |
15 | } |
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: | #1012563 |
| Snippet name: | Find related nouns [dev.] |
| Eternal ID of this version: | #1012563/2 |
| Text MD5: | c86b6d3734a2a3b735046df506556e17 |
| Transpilation MD5: | b5ea07dbcd8505d41801ebe389d04a1c |
| 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-07 13:17:12 |
| Source code size: | 278 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 747 / 1578 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |