Download Jar. Transpiled version (14668L) is out of date.
1 | !7 |
2 | |
3 | p-noconsole { |
4 | chatLinesAsWeb_addIP = true; |
5 | Web web = lastChatLinesAsWeb(5); |
6 | for (WebNode node : web_nodesStartingWith(web, "Text ")) pcall { |
7 | S text = web_unquoteLastToken(node); |
8 | L<S> categories = ai_categoriesForChatLine(text); |
9 | for (S c : categories) { |
10 | WebNode catNode = web_findOrMakeForwardRelated(node, "is a"); |
11 | web_setPosition(catNode, node.x+0.2, node.y-0.1); |
12 | web_addLabel(catNode, c); |
13 | } |
14 | } |
15 | web_addBaseCategories(web); |
16 | showWeb_noAutoLayout(web, 1000, 600); |
17 | } |
Began life as a copy of #1010908
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, imzmzdywqqli, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010916 |
Snippet name: | Last chat lines as web, with IPs and categories [OK] |
Eternal ID of this version: | #1010916/12 |
Text MD5: | 4ad8c4a8accb9688a42cb2822f5190d4 |
Author: | stefan |
Category: | javax / chat |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-10 18:21:20 |
Source code size: | 528 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 447 / 1072 |
Version history: | 11 change(s) |
Referenced in: | [show references] |