static S ai_html_wordThoughts(S selectedWord) { Set<S> ignoredWebs = ai_ignoredWebs(); L<WebNode> nodes = web_nodesNotFromCertainWebs(ignoredWebs, indexedNodes(selectedWord)); L<WebRelation> rel1 = web_collectBackwardRelations(nodes); L<WebRelation> rel2 = web_collectForwardRelations(nodes); //L<WebNode> is = ai_whatIs(selectedWord); ret h3(htmlencode(selectedWord)) + ul(map html_linkURLs_targetBlank( allToString(flattenArray2( uniquify( map(func(WebRelation r) { //htmlencode_noQuotes(web_text(r) + " " + ai_renderNode(r.b)) + " [" + r.web.globalID + "]" ahref("http://botcompany.de/wiki/" + r.web.globalID, htmlencode_noQuotes(web_text(r) + " " + ai_renderNode(r.b)), style := dottedStyle()) }, rel2) ), uniquify( map(func(WebRelation r) { //htmlencode_noQuotes(ai_renderNode(r.a) + " " + web_text(r) + " " + web_text(r.b)) + " [" + r.web.globalID + "]" ahref("http://botcompany.de/wiki/" + r.web.globalID, htmlencode_noQuotes(ai_renderNode(r.a) + " " + web_text(r) + " " + web_text(r.b)), style := dottedStyle()) }, rel1) ), "[" + n(nodes, "node") + "]" )))); }
Began life as a copy of #1011308
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): cfunsshuasjs, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1011318 |
Snippet name: | ai_html_wordThoughts v1 |
Eternal ID of this version: | #1011318/1 |
Text MD5: | cb8332a28c9b614b8f4909d0e508cd2d |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | Yes |
Created/modified: | 2017-10-24 02:29:56 |
Source code size: | 1245 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 380 / 374 |
Referenced in: | -