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

10
LINES

< > BotCompany Repo | #1017327 // ai_parser1_multipleCategories

JavaX fragment (include)

1  
static L<ParseResult1> ai_parser1_multipleCategories(S input, Collection<S> categories) {
2  
  new L<ParseResult1> results;
3  
  for (S cat : categories)
4  
    results.addAll(ai_parser1(input, cat));
5  
  ret takeFirst(10, parseResultsSortedByNumberOfAssumptions(results));
6  
}
7  
8  
static L<ParseResult1> ai_parser1_multipleCategories(S input, S... categories) {
9  
  ret ai_parser1_multipleCategories(input, asList(categories));
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017327
Snippet name: ai_parser1_multipleCategories
Eternal ID of this version: #1017327/5
Text MD5: ea99d34e02cbf17361f9beff43d80b29
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-17 16:59:32
Source code size: 421 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 338 / 368
Version history: 4 change(s)
Referenced in: [show references]