maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS (https://talk.maemo.org/showthread.php?t=84753)

imo 2012-06-08 06:40

Re: [Announce] Saera: Siri clone for Maemo 5
 
would any one like to make a deb out of it so that it can reach to the repos and then every one can share the joy ?

Mohammed Muid 2012-06-08 06:44

Re: [Announce] Saera: Siri clone for Maemo 5
 
saera doesnot open ::



BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd MyDocs/saera/
/home/user/MyDocs/saera # python saera.py
process 1970: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 1970: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted
/home/user/MyDocs/saera #

thp 2012-06-08 07:26

Re: [Announce] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by Mohammed Muid (Post 1219297)
saera doesnot open ::
~ $ sudo gainroot
Root shell enabled

Try running it as normal user "user" (i.e. without "sudo gainroot").

droll 2012-06-08 08:01

Re: [Announce] Saera: Siri clone for Maemo 5
 
finally, something that does speech to text. i've been wanting something like this for the longest time on the n900.


voice-dialing here we come! :)

Mohammed Muid 2012-06-08 08:17

Re: [Announce] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by thp (Post 1219305)
Try running it as normal user "user" (i.e. without "sudo gainroot").

another problem::




BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ cd /home/us
user/ usr/
~ $ cd /home/user/MyDocs/saera/
~/MyDocs/saera $ python saera.py
Traceback (most recent call last):
File "saera.py", line 239, in <module>
app = Saera()
File "saera.py", line 75, in __init__
self.init_gst()
File "saera.py", line 190, in init_gst
+ '! pocketsphinx name=asr ! fakesink')
glib.GError: no element "vader"
~/MyDocs/saera

[DarkGUNMAN] 2012-06-08 08:39

Re: [Announce] Saera: Siri clone for Maemo 5
 
I like the prospect of this!

I don't know how pocketsphinx works but you said it needs dictionary to recognise words. does this mean that a dictionary can contain regional dialects or accents?
I have a Geordie accent, which, along with others accents such as Scottish or Welsh, means that most speech recognition engines have a major problem understanding me unless I speak queens-english to match it's dictionary of pronunciation.

My last attempt to do anything speech-related was when i had a SideWinder Headset and voice software.. I was able to type the phonetic version of how it would sound eg If I said "Sword", it would be "Saud" phonetically..

disappear 2012-06-08 09:22

Re: [Announce] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by taixzo
Saera uses Pocketsphinx for voice recognition, eSpeak to talk and PyGTK for the GUI.
Hi Mohammed Muid I'm not sure but maybe you try to install first pocketsphinx(apt-get install pocketsphinx) and espeak gui client(extras-devel)and then again try with zip folder(saera).For espeak gui client you had installed before python-gtk2 and python-gobject
regards

luiscesjr 2012-06-08 10:44

Re: [Announce] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by taixzo (Post 1219239)
Here is the source at the moment. Not much works with the AI; Saera currently recognizes the following things:
  • Hello
  • Test/Testing
  • Remind me X
  • Put on some music
  • What is the answer to life the universe and everything

I don't have hooks into the system yet, so neither reminders or music control actually work. Also, accuracy is fairly poor, for the reasons I just posted. Saera seems to run a good deal slower than the Pocketsphinx demo that the voice recognition is based on, so I will see what I can do to speed that up.

To run: extract zip on N900. In x-terminal, cd to that directory and run
Code:

python saera.py

Good, will take a look as soon as I can grab my notebook!
I have something in mind...

taixzo 2012-06-08 11:51

Re: [Announce] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by Mohammed Muid (Post 1219327)
another problem::




BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ cd /home/us
user/ usr/
~ $ cd /home/user/MyDocs/saera/
~/MyDocs/saera $ python saera.py
Traceback (most recent call last):
File "saera.py", line 239, in <module>
app = Saera()
File "saera.py", line 75, in __init__
self.init_gst()
File "saera.py", line 190, in init_gst
+ '! pocketsphinx name=asr ! fakesink')
glib.GError: no element "vader"
~/MyDocs/saera

You need gstreamer0.10-pocketsphinx.

Mohammed Muid 2012-06-08 11:52

Re: [Announce] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by disappear (Post 1219356)
Hi Mohammed Muid I'm not sure but maybe you try to install first pocketsphinx(apt-get install pocketsphinx) and espeak gui client(extras-devel)and then again try with zip folder(saera).For espeak gui client you had installed before python-gtk2 and python-gobject
regards

there is no such file as pocketsphinx. i installed espeak and espeakgui. bt same problem


All times are GMT. The time now is 00:00.

vBulletin® Version 3.8.8