Control your computer with your voice.

Non-Desktop related topics
Ответить
Аватара пользователя
dareksmok
Сообщения: 293
Зарегистрирован: 27 июн 2013, 23:08
Operating system: ROSA Fresh R10 MATE - 64 bit
i5-4570 CPU @ 3.20GHz
NVIDIA GeForce GT 1030
8 GB RAM

Control your computer with your voice.

Сообщение dareksmok » 11 авг 2013, 17:22

Hello, I recently decided to try out a project called "perlbox-voice".

Tutorial -> http://perlbox.sourceforge.net/pbtk/tutorial/index.html



Perlbox-voice/source -> http://sourceforge.net/projects/perlbox/

Perlbox-voice (which version of the box into the correct directory has been tested on the ROSA) -> http://pkgs.org/slackware-13.37/slacky- ... l.txz.html

Requires:

# festival

Код: Выделить всё

urpmi festival
# perl

Код: Выделить всё

urpmi perl
# perl-Tk

Код: Выделить всё

urpmi perl-Tk
# sphinx2

Код: Выделить всё

urpmi sphinx2
Unfortunately, when you run the program is not working properly.
Please help me.

Start perlbox-voice
[daro@localhost ~]$ perlbox-voice
Using an array as a reference is deprecated at /usr/lib/perlbox-voice/Perlbox/Plugins/Desktop.pm line 69.
Using an array as a reference is deprecated at /usr/lib/perlbox-voice/Perlbox/Plugins/Desktop.pm line 73.
Festival started...
Control -> Start Listener
Perlbox Voice .png
INFO: fbs_main.c(1266): libfbs/main COMPILED ON: May 28 2012, AT: 18:51:24

INFO: kb_main.c(601): Reading phone file [/usr/share/sphinx2/model/hmm/6k/phone]
INFO: phone.c(387): Using 0 phonological mappings
INFO: kb_main.c(610): Reading map file [/usr/share/sphinx2/model/hmm/6k/map]
INFO: hmm_tied_r.c(1339): Read Map: 125716 phones map to 23355 unique senone sequences
INFO: kb_main.c(648): Reading dict file [/home/daro/.perlbox-voice/commands/current.dic]
INFO: dict.c(473): dict_load: first line of /home/daro/.perlbox-voice/commands/current.dic was WEB, expecting '!'
INFO: dict.c(475): dict_load: will assume first line contains a word
INFO: dict.c(639): 11 = words in file [/home/daro/.perlbox-voice/commands/current.dic]
INFO: dict.c(406): LEFT CONTEXT TABLES
INFO: dict.c(1083): Entry Context table contains
11 entries
INFO: dict.c(1084): 561 possible cross word triphones.
INFO: dict.c(1120): 473 triphones
88 pseudo diphones
0 uniphones
INFO: dict.c(1146): Exit Context table contains
11 entries
INFO: dict.c(1147): 561 possible cross word triphones.
INFO: dict.c(1210): 473 triphones
88 pseudo diphones
0 uniphones
INFO: dict.c(1212): 234 right context entries
INFO: dict.c(1213): 21 ave entries per exit context
INFO: dict.c(410): RIGHT CONTEXT TABLES
INFO: dict.c(1083): Entry Context table contains
10 entries
INFO: dict.c(1084): 510 possible cross word triphones.
INFO: dict.c(1120): 420 triphones
90 pseudo diphones
0 uniphones
INFO: dict.c(1146): Exit Context table contains
10 entries
INFO: dict.c(1147): 510 possible cross word triphones.
INFO: dict.c(1210): 420 triphones
90 pseudo diphones
0 uniphones
INFO: dict.c(1212): 262 right context entries
INFO: dict.c(1213): 26 ave entries per exit context
INFO: dict.c(414): 0 unique triphones were mapped to ci phones
INFO: lm_3g.c(864): Reading LM file /home/daro/.perlbox-voice/commands/current.lm (name "")
INFO: lm_3g.c(894): ngrams 1=13, 2=22, 3=11
INFO: lm_3g.c(901): 14 words in dictionary
INFO: lm_3g.c(1416): Looking for precompiled LM dump file /home/daro/.perlbox-voice/commands/current.lm.DMP
INFO: lm_3g.c(1419): Precompiled file not found; continue with LM file
INFO: lm_3g.c(562): Reading unigrams
WARNING: "lm_3g.c", line 570: Format error; unigram ignored:-1.8195 -0.2218
WARNING: "lm_3g.c", line 588: lm_t.ucount(13) != #unigrams read(12)
INFO: lm_3g.c(943): 12 = #unigrams created
INFO: lm_3g.c(606): Reading bigrams
FATAL_ERROR: "lm_3g.c", line 666: Bad bigram: -0.3010 </s> -0.3010
Вложения
perlbox-voice.readme.txt
(1.16 КБ) 518 скачиваний
ROSA Fresh R10 MATE - 64 bit

Аватара пользователя
Zeffanyx
Сообщения: 1231
Зарегистрирован: 12 сен 2011, 14:25
Operating system: Rosa Fresh R11, OpenMandriva Lx 4 (Cooker)
Откуда: Санкт-Петербург

Re: Control your computer with your voice.

Сообщение Zeffanyx » 12 авг 2013, 11:23

Magic Gooddy is back...

d_uragan
Сообщения: 505
Зарегистрирован: 23 ноя 2011, 21:27

Re: Control your computer with your voice.

Сообщение d_uragan » 01 сен 2013, 12:55

Have you tried this software in Desktop Fresh? We haму updated quite a few speech-related packages there, likely some of the updates are missing in Marathon

Аватара пользователя
dareksmok
Сообщения: 293
Зарегистрирован: 27 июн 2013, 23:08
Operating system: ROSA Fresh R10 MATE - 64 bit
i5-4570 CPU @ 3.20GHz
NVIDIA GeForce GT 1030
8 GB RAM

Re: Control your computer with your voice.

Сообщение dareksmok » 01 сен 2013, 23:21

d_uragan писал(а):Have you tried this software in Desktop Fresh?
I have not tried software in Desktop Fresh .
GNOME 3 does not suit me and I do not like KDE, hope remains in the environment Mate.
Browsing the forum, I learned that the environment should already be available in the repositories Desktop Fresh.

Код: Выделить всё

urpmi task-mate
If I'm wrong please correct me.
ROSA Fresh R10 MATE - 64 bit

Аватара пользователя
dareksmok
Сообщения: 293
Зарегистрирован: 27 июн 2013, 23:08
Operating system: ROSA Fresh R10 MATE - 64 bit
i5-4570 CPU @ 3.20GHz
NVIDIA GeForce GT 1030
8 GB RAM

Re: Control your computer with your voice.

Сообщение dareksmok » 08 сен 2013, 10:31

Welcome
Hello I installed the required dependencies and + perlbox-voice on the Desktop Fresh Mate. Unfortunately, the program does not work properly.

Start perlbox-voice
daro2@localhost ~]$ perlbox-voice
Using an array as a reference is deprecated at /usr/lib/perlbox-voice/Perlbox/Plugins/Desktop.pm line 69.
Using an array as a reference is deprecated at /usr/lib/perlbox-voice/Perlbox/Plugins/Desktop.pm line 73.
Festival started...
Linux: can't open /dev/dsp
Control -> Start Listener

Изображение
/usr/bin/sphinx2-continuous: error while loading shared libraries: libsphinx2.so.0: cannot open shared object file: No such file or directory

Tested on "perlbox-voice-0.09-0.noarch.rpm" http://rpm.pbone.net/index.php3/stat/4/ ... h.rpm.html
ROSA Fresh R10 MATE - 64 bit

Ответить