Active Topics

 



Notices


Reply
Thread Tools
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#31
Originally Posted by ivgalvez View Post
You could try to combine it with Maemo Profiler, which is already capable of triggering a good number of actions.
I could, although it seems like overkill to create whole new profiles just to run commands. I was planning on just using dbus instead.

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 ?
I will make a deb when I figure out packaging, but I don't want to put it in the repos until it is working a bit better.

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..
I believe pocketsphinx supports alternate pronunciations. However, I think you would have to create an entire new dictionary with those new pronunciations in it (hopefully someone will prove me wrong here).

here is no such file as pocketsphinx. i installed espeak and espeakgui. bt same problem
The package is called pocketsphinx-utils. I suggest you just install all packages with "pocketsphinx" in the name until I figure out which ones it actually requires.
 

The Following 3 Users Say Thank You to taixzo For This Useful Post:
Posts: 238 | Thanked: 131 times | Joined on May 2011 @ Bulgaria
#32
Originally Posted by Mohammed Muid
there is no such file as pocketsphinx. i installed espeak and espeakgui. bt same problem
Look here friend:
~ $ sudo gainroot
Root shell enabled

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-cache search pocketsphinx
python-sphinxbase - Sphinx base libraries - Python module
libsphinxbase-dev - Development files for Sphinx base libraries
libsphinxbase1 - Sphinx base libraries
python-pocketsphinx-dbg - lightweight speech recognition - Python module (debug version)
libpocketsphinx1 - lightweight speech recognition - library
gstreamer0.10-pocketsphinx - lightweight speech recognition - GStreamer plugin
pocketsphinx-utils - lightweight speech recognition - command-line tools
python-pocketsphinx - lightweight speech recognition - Python module
libpocketsphinx-dev - Development files for Pocketsphinx.
pocketsphinx-zh-tidigits - lightweight speech recognition - Mandarin acoustic models
pocketsphinx-lm-en-hub4 - Lightweight speech recognition - HUB4 language model
pocketsphinx-hmm-en-tidigits - lightweight speech recognition - TIDIGITS models
pocketsphinx-lm-zh-hant-gigatdt - Lightweight speech recognition - Traditional Chinese language model
pocketsphinx-hmm-en-hub4wsj - Lightweight speech recognition - English acoustic model
/home/user #
 

The Following User Says Thank You to disappear For This Useful Post:
Posts: 372 | Thanked: 61 times | Joined on Jan 2012
#33
i could open it. then when i click on the mike it closes. but i could write. be it says. "i dont understand sorry." loser
 
Posts: 208 | Thanked: 63 times | Joined on May 2012
#34
any hope saera for N9?
 
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#35
Originally Posted by Mohammed Muid View Post
i could open it. then when i click on the mike it closes. but i could write. be it says. "i dont understand sorry." loser
If it closes when you tap thi mic, do you get an error in the terminal? It may be missing some package.

Originally Posted by N9owner
any hope saera for N9?
Again, I've addressed this. It's possible in theory, but I have no way of testing it because I don't have an N9.

Last edited by taixzo; 2012-06-08 at 12:48.
 

The Following 3 Users Say Thank You to taixzo For This Useful Post:
Posts: 11 | Thanked: 0 times | Joined on Jan 2012
#36
i install espeek,espeek gui,python-gtk2,python-gobject,gstreamer0.10-pocketsphinx,python-pocketsphinx,pocketsphinx-utils. then extract zip file and move all files to a folder named siri and then:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# cd /home/user/MyDocs/siri
Nokia-N900:/home/user/MyDocs/siri# python saera.py
Traceback (most recent call last):
File "saera.py", line 13, in <module>
import pygst
ImportError: No module named pygst
Nokia-N900:/home/user/MyDocs/siri#

what's wrong with it?
 
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#37
Originally Posted by sepehr_se View Post
i install espeek,espeek gui,python-gtk2,python-gobject,gstreamer0.10-pocketsphinx,python-pocketsphinx,pocketsphinx-utils. then extract zip file and move all files to a folder named siri and then:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# cd /home/user/MyDocs/siri
Nokia-N900:/home/user/MyDocs/siri# python saera.py
Traceback (most recent call last):
File "saera.py", line 13, in <module>
import pygst
ImportError: No module named pygst
Nokia-N900:/home/user/MyDocs/siri#

what's wrong with it?
First of all, you probably need to install python-gst0.10. Second, you shouldn't run this as root.
 

The Following 3 Users Say Thank You to taixzo For This Useful Post:
Posts: 11 | Thanked: 0 times | Joined on Jan 2012
#38
Originally Posted by taixzo View Post
First of all, you probably need to install python-gst0.10. Second, you shouldn't run this as root.
I install install python-gst0.10.
when I run as sudo gainroot:
$ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd /home/user/MyDocs/siri
/home/user/MyDocs/siri # python saera.py
process 2608: 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 2608: 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/siri #

and when I run as root
......
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02

FATAL_ERROR: "fe_sigproc.c", line 397: WTF, 5406.250000 < -31.250000 > 6093.750000
Nokia-N900:/home/user/MyDocs/siri#

when I run it as root for the firs time it opens and when I clicked on microphon it closed,
 
Posts: 372 | Thanked: 61 times | Joined on Jan 2012
#39
Originally Posted by taixzo View Post
If it closes when you tap thi mic, do you get an error in the terminal? It may be missing some packages
INFO: feat.c(848): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='prior', VARNORM='no', AGC='none'
INFO: cmn.c(142): mean[0]= 12.00, mean[1..12]= 0.0
ERROR: "acmod.c", line 84: Must specify -mdef or -hmm
Segmentation fault
~/MyDocs/saera $

this is the end of the xterm output after i clicked the mich
 
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#40
Originally Posted by sepehr_se View Post
I install install python-gst0.10.
when I run as sudo gainroot:
$ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd /home/user/MyDocs/siri
/home/user/MyDocs/siri # python saera.py
process 2608: 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 2608: 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/siri #

and when I run as root
......
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02

FATAL_ERROR: "fe_sigproc.c", line 397: WTF, 5406.250000 < -31.250000 > 6093.750000
Nokia-N900:/home/user/MyDocs/siri#

when I run it as root for the firs time it opens and when I clicked on microphon it closed,
Just don't run as root at all!

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

~ $ cd MyDocs/saera/
~/MyDocs/saera $ python saera.py
 

The Following 3 Users Say Thank You to taixzo For This Useful Post:
Reply

Tags
saera, speech-to-text


 
Forum Jump


All times are GMT. The time now is 14:03.