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)

taixzo 2012-06-07 20:59

[DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
1 Attachment(s)
I couldn't find one, so I decided to make my own. Saera can do some tasks (such as setting alarms etc) and make some conversation, although not very well (might someone be interested in helping with the A.I.?)
Saera uses Pocketsphinx for voice recognition, eSpeak to talk and PyGTK for the GUI.

http://s17.postimage.org/o2sbhkpjj/saera_i.png

To install, you will need these packages:
Code:

pocketsphinx-utils
pocketsphinx-hmm-en-hub4wsj
pocketsphinx-lm-en-hub4
gstreamer0.10-pocketsphinx
python-gst0.10
python-gtk2
python-gobject
python-cairo
espeak

What Saera can do right now:
  • tell you the time, both where you are and in a few major cities (more will be added)
  • greet you
  • Verify she's working, if you say "testing"
  • Take a picture, if the lens cover is open and the camera app isn't
  • Take a picture of you with the front camera
  • tell you the meaning of life, the universe and everything
  • tell you random facts about the N900
  • call a phone number (buggy)
  • tell you where you are if you're lost
  • search for food near you
  • read you new emails as they come in
  • set alarms (note that I haven't got them to boot the device if it's off yet)
  • play and pause music (although you can't play a song by name yet - that will come.)

Edit [2015-07-19 4:16 pm]: Added support for Sailfish OS.

Edit [2012-12-31 2:28 pm]: Added support for N9/N950.

Edit [2012-06-16 11:55 pm]: Initial support for answering in other languages.

Edit [2012-06-11 3:14 pm]: Improved recognition accuracy

Edit: Latest source files attached.

Mod edit:
Changed thread title

Wreck 2012-06-07 21:04

Re: [Announce] Saera: Siri clone for Maemo 5
 
Wow, gonna test it out for sure!

Good luck building it :)

wumpwoast 2012-06-07 21:25

Re: [Announce] Saera: Siri clone for Maemo 5
 
Is it possible to pin a specific voice command to an arbitrary command-line? I would use that in so many ways! Very happy that someone is writing a Sphinx "GUI" :)

taixzo 2012-06-07 21:54

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

Originally Posted by wumpwoast (Post 1219159)
Is it possible to pin a specific voice command to an arbitrary command-line? I would use that in so many ways! Very happy that someone is writing a Sphinx "GUI" :)

Yes it is; in fact, that is a good deal easier than trying to parse the input for meaning.

I'm just collecting everything into one place, and I'll upload the zip later this evening.

optimistprime 2012-06-07 22:03

Re: [Announce] Saera: Siri clone for Maemo 5
 
Any way we could get this for Harmattan?

ZogG 2012-06-07 22:06

Re: [Announce] Saera: Siri clone for Maemo 5
 
Would be happy to see source code, so i hope other devs would jump in

optimistprime 2012-06-07 22:12

Re: [Announce] Saera: Siri clone for Maemo 5
 
Now I have pull the n900 out and add this....makes,me wonder why i even have an n9.

luiscesjr 2012-06-07 22:12

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

Originally Posted by taixzo (Post 1219154)
(might someone be interested in helping with the A.I.?)

Sure! Where is the source?

praveenchand 2012-06-07 22:13

Re: [Announce] Saera: Siri clone for Maemo 5
 
Interesting project! Long live N900!

taixzo 2012-06-07 23:27

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

Originally Posted by optimistprime (Post 1219167)
Any way we could get this for Harmattan?

Unfortunately I do not have an N9, and I don't have the money to get one. If someone else is interested in getting it running though, it should be simoke in theory. Is pocketsphinx in the N9 repos?

Quote:

Sure! Where is the source?
I'll upload the source when I get home this evening; I don't have it here, just my screenshot.


All times are GMT. The time now is 09:18.

vBulletin® Version 3.8.8