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: 351 / 2561
Version history: 2 change(s)
Referenced in: #1020792 - Question Detection Trainer [OK]
#1020830 - Yes/No Detection Examples
#1020853 - Question Detection Solvers
#1020901 - Noun List (+phrases)
#1021321 - Split Into Sentences Examples