Joystick (Direct Input) icon Joystick (Direct Input) DirectInput joystick control for ARC: drive movement panels, control servos, assign button scripts, variable speed and rumble feedback. Try it →
Tutorial
Published — Updated

Add New AIML Categories With Your Voice

Step 1 of 5

Do you want to add new content to your AIMLBot all automatically by voice? Adding new AIML categories can be a bit of a bother. There is so much overhead coding. In this tutorial I will show you how to add AIML code using a script that I wrote. In fact, this will add multiple categories and allow you to use them right away thanks to a change DJ made a few days ago!


Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

Add Skills

Add AimlBot because this is what you are enhancing, Add Bing Speech Recognition so that you can talk to your robot, and one script skill where most of the code will go.


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

#1  

Hello Super le code . Merci beaucoup .

Author Avatar
PRO
USA
#2   — Edited

nice program will try it out

#3  

@Thomas,

Hi Thomas.  If you have time could you make a video of each step to make this work. I am having a hard time following your steps to crate AIML using my voice.  Do I need other plug-in to make this work.

Thank you in advance. Cheers

#4  

this is excellent, just what i was looking for:D

#7  

Yes that is what I am using... i am using that and part of your code to listen...

Wait for user voice input and store input

controlCommand("Bing Speech Recognition", "StartListening") controlCommand("Bing Speech Recognition", "UnpauseListening") sleep(3000)

print($BingSpeech)

this all works

then I do this... if ($BingSpeech = "how are you")

do something

Endif

even though the $BingSpeech printed "how are you" from my voice, the If statement does not fire am I missing something?