@Mitchfarino not completely sure what you mean by that. It`s all there in the video. First you have to say “echo” every time (hence the name “ecco!” which is Italien, because Amazon already stole the name echo, even though it would fit a magic talking mirror much better. If you don’t know what I mean, look up the Nymph Echo on Wikipedia, you’ll get it!). After the response it is checking for several commands. Some of them have to be precise, others not. For example “how is the weather today” or “what will the weather today be like” will result in the same response. That is because in Steven Hicksons voice command script you can choose to set a ~ in front of the command. This will set off the command even if this word (or combination of words) is just a part of the request. So some examples are:
~weather today: if the request has these words in them, it will execute my weather.py script
~rain today: if the request has these words in them, it will execute my weather2.py script
~next tram: if the request has these words in them, it will execute my fahrplan.py script
Others have to be precise, like the radio control:
Playstation 3: this will give the command for mpc to play the third entry in the playlist (It’s the brands name because the voice recognition is very good recognising this, it never recognises “play station”, always “Playstation”)
And then there’s the Wiki script. Basically when you put the Wiki command first, everyting after taht will be parsed to my wiki.py script. This script is then in a first step deciding if it should look at Wikipedia or Wikidata. If It’s Wikidata, it will further dissect the sentence in three parts: Which item are you requesting (in the demo video “Berlin”), which property (“population”) and then words that help getting what you want. This has all to do with syntax. If you are interested in that script I might be able to upload it somewhere. But be warned - it is VERY messy. Prior to this I never had any programming experience.
I hope, this answers your question. If not - let me know!