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

16
LINES

< > BotCompany Repo | #1020788 // Question Detection Examples [is input a question? learning examples]

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

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

!7

concept Example {
  S input;
  S isQuestion; // 'yes, 'no or something else
}

compact module IsQuestionExamples > DynCRUD<Example> {
  *() { super(Example); }
  
  // API
  
  void addEntry(S input, S isQuestion) {
    uniq_sync(Example, +input, +isQuestion);
  }
}

Author comment

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: 279 / 2473
Version history: 2 change(s)
Referenced in: [show references]