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

5
LINES

< > BotCompany Repo | #1021150 // isYes_1

JavaX fragment (include)

sbool isYes_1(S s) {
  ret match_vbar("accept|except|save|definitely|and if it is|is if it is right|is this|right|enter|submit|send|you got it|close enough|that it is|bingo|confirm|confirming|confirmed|i said yes|it is|surely|is this the man|guess my man|just|sieve|yesterday's", s)
    || matchStart_vbar("yes|yeah|yep|yup|yo|yay|absolutely|correct|you can say that|chore|shore|shorts|sure|is yes|okay|ok|that's correct|you are right|you're right|you're correct|you just said it", s)
    || matchEnd_vbar("that's right|got it|could say that|could say so|that's it|couldn't be anything else", s);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, lnbujpyubztb, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021150
Snippet name: isYes_1
Eternal ID of this version: #1021150/4
Text MD5: 590400acb4fd6bd1ef92be28ed77bb65
Author: stefan
Category: javax / speech
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-09 00:40:15
Source code size: 602 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 336 / 422
Version history: 3 change(s)
Referenced in: [show references]