Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1010106 // web_isA_expandForward - "is a/X" -> "is/a X"

JavaX fragment (include)

static void web_isA_expandForward(Web web) {
  for (Pair<WebNode> p : web_relationsOfType(web, "is a")) {
    web_setRelationText(p, "is");
    web_setText(p.b, "a " + p.b.text());
  }
}

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: #1010106
Snippet name: web_isA_expandForward - "is a/X" -> "is/a X"
Eternal ID of this version: #1010106/4
Text MD5: 0c8fee0f876ddb556104560eaee3b21b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-02 16:02:16
Source code size: 191 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 472 / 535
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1010452 - web_contractRelation - e.g. "has/type X" -> "has type/X"
#1010453 - web_is_addToSource