Well i solved the problem..

The thing is that you call cpy mysentence everyframe, so is i compare the sentente and do a command, it will loop the command.. So i had to make a way to compare the sentence with a previouse one, and its equal, then do nothing, if its new, overwrite the last sentence and do something corresponding to that sentense.


Did you thought about implementing the add word, for a stricted grammar and not the full dictionary to improve the recognition results?

cheers