Uses 911K of libraries. Click here for Pure Java version (12172L/63K).
1  | !7  | 
2  | |
3  | concept Example {
 | 
4  | S text, language;  | 
5  | }  | 
6  | |
7  | cmodule Examples > DynCRUD<Example> {
 | 
8  |   start {
 | 
9  | indexConceptFieldsCI(Example, 'language, Example, 'text);  | 
10  | }  | 
11  | |
12  | // API  | 
13  | |
14  |   Cl<S> examplesForLanguage(S language) {
 | 
15  | ret collect text(conceptsWhereCI Example(+language));  | 
16  | }  | 
17  | |
18  |   void addExample(S text, S language) {
 | 
19  | uniqCI Example(+text, +language);  | 
20  | }  | 
21  | }  | 
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027451 | 
| Snippet name: | Language Detection Examples | 
| Eternal ID of this version: | #1027451/3 | 
| Text MD5: | 8ce0831ef60f302e6d114d746ea8954a | 
| Transpilation MD5: | f998414bbd0532537d49df3b8938fae7 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX source code (Dynamic Module) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-03-22 13:00:21 | 
| Source code size: | 384 bytes / 21 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 410 / 849 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |