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

4
LINES

< > BotCompany Repo | #1018132 // ai_applyGroupingInfixes - O(nWords^2)

JavaX fragment (include)

static ItIt<S> ai_applyGroupingInfixes(S s) {
  ret mapI(ai_findInfixPhrases(s, ai_defaultGroupingInfixes()),
    func(T3<S> t) -> S { curlyOpt(t.a) + t.b + curlyOpt(t.c) });
}

Author comment

Began life as a copy of #1018128

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018132
Snippet name: ai_applyGroupingInfixes - O(nWords^2)
Eternal ID of this version: #1018132/2
Text MD5: c3007689f61baf8a7e59495ce477b8f7
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-02 17:34:14
Source code size: 179 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 297 / 342
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)