1 | static void web_ai_addSimplifications(Web web) { |
2 | for (WebNode node : web_nodesAndRelations(web)) { |
3 | int n; |
4 | do { |
5 | n = web_numberOfLabels(node); |
6 | for (S text : web_texts(node)) |
7 | web_addLabel(node, ai_simplifyNP(text)); |
8 | } while (web_numberOfLabels(node) > n); |
9 | } |
10 | } |
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: | #1011213 |
Snippet name: | web_ai_addSimplifications |
Eternal ID of this version: | #1011213/2 |
Text MD5: | 0fb0c0c393244df7edae889fabcd7038 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-17 14:15:36 |
Source code size: | 301 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 451 / 516 |
Version history: | 1 change(s) |
Referenced in: | [show references] |