6 posts / 0 new
Last post
Offline
Last seen: 2 months 1 week ago
Joined: November 15, 2017
ASR
Dear, I read(hack) the source of Choregraphe's Speech Reco. box. In the source class MyClass(GeneratedClass):     def __init__(self):         GeneratedClass.__init__(self, False)         try:             self.asr = ALProxy("ALSpeechRecognition") What do the variable "asr" of self.asr mean? I recognize that the variable "self" is Choregraphe's Speech Reco. box. Does the variable "asr" send the order in OS? (I found ASR module by Google.But I didn't find more information) And Can I  post this forum in this Forum by Japanese? Regards.
Offline
Last seen: 16 hours 55 min ago
Joined: March 5, 2017

asr stands for Audio Speech Recognition (or Aldebaran Speech Recognition...maybe in this case).

"self" is like "this" in java; class method declaration
https://stackoverflow.com/questions/2709821/what-is-the-purpose-of-self

so it is saying this dynamic variable asr in this case is ALProxy("ALSpeech...

http://doc.aldebaran.com/2-1/naoqi/audio/alspeechrecognition-tuto.html

Many companies have different ASR, ignore that for the moment.

There may be some confusion because Choregraphe creates a session for you (normally outside you have to indicate IP and port etc)

But saying asr.setLanguage("English") is the same as saying ALProxy("ALSpeechRecognition").setLanguage("English") ... just shorter and easier

here is a list of methods in SpeechRecognition
http://doc.aldebaran.com/2-1/naoqi/audio/alspeechrecognition-api.html

Offline
Last seen: 2 months 1 week ago
Joined: November 15, 2017

Dear,

Thank you for your reply.

I understand this Logic.

Would anyone answer that I'm able to post in this forum by Japanses.

Offline
Last seen: 2 months 1 week ago
Joined: November 15, 2017

Dear,Thank you for your reply.
I understand this Logic.Would anyone answer that I'm able to post in this forum by Japanses.

Offline
Last seen: 16 hours 55 min ago
Joined: March 5, 2017

No rules against it, but I am not a moderator... :)

be aware I will use google translate to read it! ┐('~`;)┌

there is a Qiita forum too somewhere that has more japanese
https://qiita.com/tags/Pepper/items

Offline
Last seen: 2 months 1 week ago
Joined: November 15, 2017
<pre>Dear Collabots, Thank you for your reply at more times. I bookmarked https://qiita.com/tags/Pepper/items. Regards. </pre>