SiriProxy-Asiri
SiriProxy-Asiri copied to clipboard
change the language
Hi, thanks for your plugin! i can not get it to work with my language (Danish). I have changed the language code in the config.yml file til da-DK. I really dont know if i'm doing it right. I have also made a file called da-DK.rb that listen for speech in my language (Danish).
Am i doing anything wrong? Hope you can help me!
Hi,
I'm not sure if Danish is supported by Google speech to text API. Because I can't find it listed on my Android, and Google's App on the iPhone, as a supported language.
Just to confirm that Asiri is working fine, can you make another file, perhaps in Dutch (nl-NL), German (de-DE), or any other language you speak besides Danish? Or you can modify the provided en-US and see if Asiri accepts and translates those changes.
Thanks,
*Edited a typo
Thank you!
Then do you know where you can find a list of supported languages and their language codes?
Hello,
Unfortunately, Google's speech to text API is not documented. So, I don't know if there's such a list that exists. Please tell me if you find one.
In the mean time, I'm trying to document Google's speech to text, and text to speech APIs in these gists: https://gist.github.com/1730160 https://gist.github.com/1728771
So hopefully, I can enhance them by adding the list of supported languages.
i need pt-br.. how i can change for that?
change the langauge in config.yml
file to pt-BR
, then create a new file in the languages
folder called pt-BR.rb
. Restart SiriProxy. É isso aí.
Obrigado! :D thx it's so... simple rrsrs
does it work for chinese? does installation instruction work in Mac Os X? because I cant start Speer installation in Mac OS X.
I am a newbie, any help will be appreciated. I do have Siri Proxy running. I am trying out some plug-ins.
Thank you!
For speer issues, I'd suggest opening a ticket at speer page. Anyway, please make sure to include the output of ./configure
in a separate gist.
I do suspect one thing though, make sure you have installed speex
. One way to do it is via MacPorts or Homebrew.
$ brew install speex
thank you for the response. You were right, I was looking to install Speex. I got it installed, and speer is working now and Asiri install fine too.. thank you so much. Another question. What am I suppose to put inside the .rb file? can it be blank? I am looking to use it with chinese, zh-tw. but I am getting errors when I start Siri Proxy.
i try with pt-BR when a talk some word the siri write but no understand, its normally?
i need to make the server call and show the weather... is there a way to do it? iuse it-IT
@francysuri Check issue #5.
@aerohunter
Your commands should be in zh-TW.rb
file, you can check issue #5.
@carloswd Could you elaborate?
@alotaiba do i have to put this in it-IT.rb? and then, how do i get the conversion from location to yahoo id? require 'httparty'
response = HTTParty.get("http://weather.yahooapis.com/forecastjson?w=1940517&u=c") puts response["condition"]["text"] puts response["condition"]["temperature"]
@alotaiba thanks or your gr8 work
@francysuri Thanks for your kind words. However, you need to have a basic Ruby experience in order to make such a thing. What I put was just a snippet for you to build upon.
I suggest reading "Learn Ruby The Hard Way" by @zedshaw http://ruby.learncodethehardway.org/ to familiarize yourself more with Ruby.
ok :( if someone has something ready just post, i'll take the ruby class :(
is it possible to use Google API to translate spoken command from "Chinese", or other languages to English, then send the English Command to Apple and get results on iPhone? For Example, I speak in Chinese "今天天氣如何" ("how is the weather today?" in English), then Asiri send the Spoken Chinese command to Google and get English translation back to Apple and iphone display the result.
@francysuri It won't do you any good if somebody posted a ready solution. You have to earn it, to be better programmer.
@aerohunter That would require a lot of modification, not to mention I would need access to Google's translation API, which is not free.
It will be easier just to reimplement the commands to suit your needs best. For example, you parse the text and look for clues like "weather" in Chinese, then fetch the results from Yahoo's weather APIs as I explained in issue #5.
Write correct what I ask, but do not understand or respond.
Hi Abdul, I have Siriproxy installed and running several plugins on Ubuntu. But I can't get Asiri working properly. I followed procedure and install speer and ffmpeg(hopefully correct), copied language folder to .siriproxy directory with en-US.rb file(just to test before changing to other language), but when I ask "test siriproxy" in response I get "one moment", "thinking", "be patient" and finally "sorry I can't make this request, please try again". In the terminal I can see "CommandIgnored" after "FinishSpeech" line. Same thing happening with any question or request I make. What am I doing wrong? I'm sure I missed something… Please help!!!
Hi Abdul!
I have the exact same problem as efimer03...Siri keeps telling those kind of things and at the end it simply says " Ok, I give up". Do we miss something????
Congrats for the awesome project!
Hi ianhz, It seems that the problem is with installing ffmpeg. I've manage to resolve this isue with sudo apt-get install ffmpeg after git clon CLONE_URL ffmpeg Hope this will work for you
Thanks for the tip efimer03, now it's working!!
ianhz Glad it work for you too!