Really cool project, thanks for sharing it! (hom many lines source code has the dll?)
I had better result with that code:
while(gamerunning) {
wait(1);
if (key_space) {
str_cpy((status_text.pstring)[0],"listening");
while (key_space) {
wait(1);
}
wait(-1);
get_last_sentence(mysentence);
str_cpy((dummy_text.pstring)[0],mysentence);
}
str_cpy((status_text.pstring)[0],"ready");
str_cpy((dummy_text.pstring)[0],mysentence);
}
...because otherwise the "listening" is too late... hmm well, not sure in general how it works in detail ... but the result was better
What I would really prefer is a command like
get_last_word so it doesn't try to make any grammatical interpretation which results in absolut wrong sentences.
And what about a german language support?
Are these realistic features for the future?
Regards, Clemens