Uses 911K of libraries. Click here for Pure Java version (18729L/106K).
1 | !7 |
2 | |
3 | concept Example { |
4 | S input; |
5 | S isQuestion; // 'yes, 'no or something else |
6 | } |
7 | |
8 | compact module IsQuestionExamples > DynCRUD<Example> { |
9 | *() { super(Example); } |
10 | |
11 | // API |
12 | |
13 | void addEntry(S input, S isQuestion) { |
14 | uniq_sync(Example, +input, +isQuestion); |
15 | } |
16 | } |
Began life as a copy of #1020639
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: | #1020788 |
Snippet name: | Question Detection Examples [is input a question? learning examples] |
Eternal ID of this version: | #1020788/3 |
Text MD5: | f94c82ffaf9caa6de8297fc03572e521 |
Transpilation MD5: | 470078272768a3cb64a745bb07ef18b4 |
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-01-03 01:38:14 |
Source code size: | 285 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 350 / 2560 |
Version history: | 2 change(s) |
Referenced in: | [show references] |