Eichhoernchen/SiriServer — Issue #147: expanding wolfram
Author: praetorians
Created: 2012-02-08 06:31:12+00:00
State: open

hi there,

related to this one :
wolframQuestion = speech.replace('who is ','').replace('what is ','').replace(u'ä', 'a').replace(u'ö', 'o').replace(u'ü', 'u').replace(u'ß', 's').replace(' ', '%20')

what i am planning is, to make the siri listen to my native language then the wolfram replace each of my native 5W + 1H to english version before finally send the request url to wolfram sites.

i have tried the speech.replace methods too, but it didn't work.

here is the draft :
1. i ask siri in my native : apakah apple ?
2. the wolfram plugins replace my speech to : what is apple ?
3. the wolfram plugins replace the converted speech to : what%20is%20apple
4. finally, the plugins sent the complete url to wolfram sites : http://api.wolframalpha.com/v1/query.jsp?input=what%20is%20apple&appid=xxx

any suggestion for this ?