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

4
LINES

< > BotCompany Repo | #1018128 // ai_applyGroupingPrefixes

JavaX fragment (include)

static ItIt<S> ai_applyGroupingPrefixes(S s) {
  ret mapI(ai_findLeadingPhrases(s, ai_defaultGroupingPrefixes()),
    func(PairS p) -> S { p.a + curlyOpt(p.b) });
}

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: #1018128
Snippet name: ai_applyGroupingPrefixes
Eternal ID of this version: #1018128/4
Text MD5: 444fe6aa51ea1ef3b66ef5712155fc96
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:08:06
Source code size: 167 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 286 / 318
Version history: 3 change(s)
Referenced in: [show references]