Libraryless. Click here for Pure Java version (4534L/28K/97K).
1 | !752 |
2 | |
3 | !include #1004863 // Dynamic Concepts |
4 | !include #1005530 // PIF Classes (Clip, Found, FullySearched) |
5 | |
6 | p { |
7 | final Concepts in = new Concepts("#1005522").load(); |
8 | new MultiMap<Long, Long> bitMap; |
9 | for (Screenshot screenshot : in.list(Screenshot)) { |
10 | continue unless in.findBackRef(screenshot, FullySearched) != null; |
11 | L<Found> found = in.findBackRefs(screenshot, Found); |
12 | print("Screenshot " + screenshot.id + " found clips: " + l(found)); |
13 | for (Found f : found) |
14 | bitMap.put(screenshot.id, f.clip->id); |
15 | } |
16 | printStruct(bitMap); |
17 | analyzeBitMap_idToText = func(long id) { ((Clip) in.getConcept(id)).description }; |
18 | analyzeBitMap(bitMap); |
19 | } |
Began life as a copy of #1005522
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005531 |
Snippet name: | PIF Reasoning 1 [Clustering, works, but might not be accurate if not every clip was searched in every screenshot] |
Eternal ID of this version: | #1005531/1 |
Text MD5: | 93fd8445866f9a5f88696b35e35fcca8 |
Transpilation MD5: | 2abd657d33a35910546fb99608baf2a4 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-27 14:14:08 |
Source code size: | 682 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 639 / 747 |
Referenced in: | [show references] |