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

6
LINES

< > BotCompany Repo | #56 // TURN OFF (recognizer)

Lua code

input = input:lower()

if input == 'computer off' or input == 'switch off' or input == 'turn off'
  or input == 'off!' or input == '!off' or input == 'off' then
  return 'TURN OFF'
end

Author comment

A recognizer for the TURN OFF intention. (See: TURN ON)

test run  test run with input  download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 189 [visualize]

Snippet ID: #56
Snippet name: TURN OFF (recognizer)
Eternal ID of this version: #56/1
Text MD5: dbc359f0117c5ccb2365d9a50f64e30c
Author: stefan
Category: intention recognizer
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2013-12-31 17:06:01
Source code size: 189 bytes / 6 lines
Pitched / IR pitched: Yes / Yes
Views / Downloads: 896 / 473
Referenced in: [show references]