locale // like variables
models // models added by the train method
recognition // browser 'SpeechRecognition' object
isListening // is the AI listening
tts // browser SpeechSynthesisUtterance object
start() // start the AI
stop() // stop the AI
say(__text__ : string) // text to speech
match(__text__ : string, __list__ : array[string]) // match text with array of text
parseLocale(__text__) // parse text and replace any {KEY} by its value from locale property
random(__list__ : array[string]) // select randomly text from inside the array
train(__test__ : string | array[string] | function return string, __action__ : string | array[string] | function return string)
// train new model, you can add {KEY} example "Welcome, {username}. My name is {myname}"
// the test and the action functions have 'test' argument
// text: It is the recognized text