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
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
| 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: | 1430 / 628 |
| Referenced in: | #61 - ON/OFF BOT #1013887 - hcookieconsent #3000382 - Answer for ferdie (>> t = 1, f = 0) |