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

14
LINES

< > BotCompany Repo | #1021326 // Extract Entities Examples

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (8526L/45K).

1  
!7
2  
3  
concept Example {
4  
  S input;
5  
  S entities; // joined with comma
6  
}
7  
8  
cmodule ExtractEntitiesExamples > DynCRUD<Example> {
9  
  // API
10  
  
11  
  void addEntry(S input, Collection<S> entities) {
12  
    uniq_sync(Example, +input, entities := joinWithComma(entities));
13  
  }
14  
}

Author comment

Began life as a copy of #1021321

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021326
Snippet name: Extract Entities Examples
Eternal ID of this version: #1021326/4
Text MD5: d3f37fe571440e44980a48113f92caf9
Transpilation MD5: f56036ddbe0f65c31cef26ea10fa83e7
Author: stefan
Category: javax / stefan's os / nlp
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-08 18:08:03
Source code size: 274 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 208 / 714
Version history: 3 change(s)
Referenced in: [show references]