taixzo/saera — pull request #1 by stesie (2012-10-17 21:59:31+00:00)
Title: use_google_voice = always support

hey,

as threatened on maemo forum before I've implemented the `use_google_voice = always` config switch now.

The Gstreamer pipe is now built considering the `use_google_voice` setting. If it's either `never` or `unrecognized` pocketsphinx is added. If it's `unrecognized` or `always` the filesink is added and the result is passed to google voice if needed.

This is, if the `always` option is chosen, pocketsphinx isn't even initialized anymore, hence the memory footprint should be way lower...

Besides the result from google voice is not just passed on to answers.com, but passed back into saera_processing.

I've now added answers.com to saera_processing.ai and added a `use_answers_com` settings switch to optionally disable it. Actually it doesn't help me much, I've not yet come up with a question it just answered :-/

cheers,
stesie