View previous topic :: View next topic |
Author |
Message |
humanthing Tux's lil' helper
Joined: 29 Nov 2006 Posts: 141
|
Posted: Sat Jun 21, 2008 11:52 am Post subject: simon speech2text, ebuild request |
|
|
Hi everybody,
I was thinking if I should fill an ebuild request at bugzilla or rather post this in the forum. Well I decided to post here, maybe there is a larger number of people interested in this here.
I recently read an article about this speech2text software Simon in a german Linux Mag, and it seems a really great piece of software!!!
Here are the links to the projekt homepage and their page on sourceforge. As far as I know it is licensed under GPLv2.
It depends on Qt 4.3 and Julius, which should need MySQL as far as I know.
Well, I was quite fascinated, because it's a free and, as it seems, a very powerful software, which allows you not only to dictate texts but also to control your machine.
As I have no experience with writing ebuilds, I just wanted to present this projekt here, and kindly ask if someone could help me out with the ebuilds needed...
That would be really great!!
Thanks so much in advance!
Greatings!!!!
- Daniel _________________ ""Sir! We are surrounded!" - "Excellent! We can attack in any direction!"" |
|
Back to top |
|
|
stegerpl Apprentice
Joined: 25 Jun 2005 Posts: 185 Location: 48°19'30"N 14°20'18"E
|
Posted: Sun Nov 21, 2010 7:48 pm Post subject: |
|
|
Hi,
what's the reason why there is no ebuild for simon up to now ?
Peter _________________ [1]... AMD Phenon X4-9950 on asus M3N78-EM with 4 GB of RAM - gentoo 10.1 - kernel 2.6.32 - kde 4.3.4
[2]... AMD Athlon XP 2500+ mobile on ASUS A7N8X with 512 kB RAM and 2xTT S-2300 - vdr-1.6.0 based on gentoo-2008.0 |
|
Back to top |
|
|
XQYZ Apprentice
Joined: 19 Jul 2009 Posts: 231 Location: Europe
|
Posted: Sun Nov 21, 2010 7:53 pm Post subject: |
|
|
stegerpl wrote: | what's the reason why there is no ebuild for simon up to now ? |
Nobody caring for it so far? Either that or it's too damn exotic and was rejected. |
|
Back to top |
|
|
stegerpl Apprentice
Joined: 25 Jun 2005 Posts: 185 Location: 48°19'30"N 14°20'18"E
|
Posted: Mon Nov 22, 2010 7:19 pm Post subject: |
|
|
XQYZ wrote: | ... it's too damn exotic and was rejected. |
Possibly that's the reason - but who does not want to check if his computer may already behave like those at star trek (remember when Scotty tried to use a Mac by talking into the mouse...).
Anyway already in 2001 I was quite surprised by a speach recognising software of IBM - it worked quite well with Windoof NT/2000. However since 2003 I am a Windoof-free-zone and therefore always looking around for software similar to those I used with Windoof. This week I found an artice in the german LinuxUser about Simon and it made me curious...
If there is no ebuild, I will use the installation from the homepage (I think I am far away from writing an ebuild).
Peter _________________ [1]... AMD Phenon X4-9950 on asus M3N78-EM with 4 GB of RAM - gentoo 10.1 - kernel 2.6.32 - kde 4.3.4
[2]... AMD Athlon XP 2500+ mobile on ASUS A7N8X with 512 kB RAM and 2xTT S-2300 - vdr-1.6.0 based on gentoo-2008.0 |
|
Back to top |
|
|
jbouzan Tux's lil' helper
Joined: 23 Nov 2007 Posts: 138
|
Posted: Mon Nov 22, 2010 9:40 pm Post subject: |
|
|
Has anyone used it? Wondering how accurate this is. I have a dual-boost desktop with Gentoo and Vista, and I've been surprised that the built-in speech recognition in Windows is halfway competant at interpreting me, and want to find something better in Linux. |
|
Back to top |
|
|
frostwork n00b
Joined: 11 Dec 2006 Posts: 64
|
Posted: Tue Nov 23, 2010 4:52 pm Post subject: |
|
|
I've used it and it works quiet fine.
in fact the speech recognition engine itself is julius,
simon is "just" a gui (it's a great gui, don't get me wrong) to make users life easier.
simon also has several "plugins" available, so you can make it to work f.e. with firefox quiet quickly.
There's also a xbmc plugin, which I also tried, and it also works quiet fine (could require some more training for my speech ).
unfortunately simon is not a qt4 only gui, but it uses a bunch of kdelibs, so it probably
never will make it onto my main mediacenter system.
maybe worth a try to train speech with simon on a kde system, and use that trained data with a pure julius engine on the htpc.
not sure though, if I want to setup a standalone julius again - last time some years back this wasn't too funny |
|
Back to top |
|
|
stegerpl Apprentice
Joined: 25 Jun 2005 Posts: 185 Location: 48°19'30"N 14°20'18"E
|
Posted: Tue Nov 23, 2010 6:58 pm Post subject: |
|
|
frostwork wrote: | ...unfortunately simon is not a qt4 only gui, but it uses a bunch of kdelibs... |
does anyone know if ksimond is the only X11 frontend or if there are alternatives ?
Peter _________________ [1]... AMD Phenon X4-9950 on asus M3N78-EM with 4 GB of RAM - gentoo 10.1 - kernel 2.6.32 - kde 4.3.4
[2]... AMD Athlon XP 2500+ mobile on ASUS A7N8X with 512 kB RAM and 2xTT S-2300 - vdr-1.6.0 based on gentoo-2008.0 |
|
Back to top |
|
|
jbouzan Tux's lil' helper
Joined: 23 Nov 2007 Posts: 138
|
Posted: Thu Dec 16, 2010 7:39 pm Post subject: |
|
|
Reviving this thread, I tried to install from source, but when emerging julius
Code: | #emerge -v julius
[snip]
>>> Completed installing julius-4.1 into /mnt/portdir/portage/app-accessibility/julius-4.1/image/
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/bin/generate-ngram
usr/bin/dfa_determinize
usr/bin/nextword
usr/bin/accept_check
usr/bin/generate
usr/bin/dfa_minimize
usr/bin/mkfa
usr/bin/jcontrol
usr/bin/mkss
usr/bin/adintool
usr/bin/adinrec
usr/bin/mkbinhmmlist
usr/bin/mkbinhmm
usr/bin/mkbingram
usr/bin/julius
usr/lib64/libjulius.a
usr/lib64/libsent.a
ecompressdir: bzip2 -9 /usr/share/man
>>> Installing (1 of 1) app-accessibility/julius-4.1
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/bin/jcontrol
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* dev-java/java-config-2.1.11-r3
* /usr/bin/jcontrol
*
* Package 'app-accessibility/julius-4.1' NOT merged due to file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.
>>> Failed to install app-accessibility/julius-4.1, Log file: |
Log at http://gentoo.pastebin.com/d0A3eMmP
Anyone have a solution to the collision? Or is there a functioning ebuild somewhere? |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Sat Dec 18, 2010 6:16 am Post subject: |
|
|
There is a patch in the gentoo bug to rename jcontrol. I also am interested in this. I see that the latest version is 4.1.5 with bugfixes. The dependencies need updating also from the current ebuild. I'll see about updating it and installing it myself in the next few days. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Thu Jan 13, 2011 3:12 am Post subject: |
|
|
I've been looking a what simon needs to build. It needs a fetch restricted package that will also need an ebuild.
Code: | HTK is not part of this distribution as the licence forbids direct redistribution.
Please go to http://htk.eng.cam.ac.uk/register.shtml and register a HTK user account to receive the password needed for the download.
You will find sourcecode releases for Windows and Linux releases here: http://htk.eng.cam.ac.uk/download.shtml
Windows users can get an outdated but binary release here: http://htk.eng.cam.ac.uk/ftp/software/htk-3.3-windows-binary.zip
Without HTK, simon (simond) will not be able to compile an acoustic model which means you can not create or modify your speech model. |
This is looking like a lot of work _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Thu Jan 13, 2011 3:32 am Post subject: |
|
|
Even worse
Code: | HTK was sold by Entropic until 1999 when Microsoft bought Entropic. Microsoft has now licensed HTK back to CUED and is providing support so that CUED can redistribute HTK and provide development support via the HTK3 web site. While Microsoft retains the copyright to the existing HTK code, everybody is encouraged to make changes to the source code and contribute them for inclusion in HTK3. |
no thanks... _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
szensz-siempre Tux's lil' helper
Joined: 04 Dec 2006 Posts: 103 Location: South Africa
|
Posted: Sat Dec 03, 2011 1:53 pm Post subject: |
|
|
This thread seems to have become dormant, but I doubt that it is because of users' lack of interest.
Seeing as htk and julius are now in portage, perhaps it is time to give simon another try?
Anyone else share my sentiments? |
|
Back to top |
|
|
bec Apprentice
Joined: 30 Sep 2004 Posts: 220 Location: Cali - Colombia
|
Posted: Thu Apr 12, 2012 4:04 pm Post subject: |
|
|
szensz-siempre wrote: | This thread seems to have become dormant, but I doubt that it is because of users' lack of interest.
Seeing as htk and julius are now in portage, perhaps it is time to give simon another try?
Anyone else share my sentiments? |
I found simon-0.3 in this overlay:
http://git.flekke.org/?p=ebuild_overlay.git;a=tree
julius is in layman/sunrise
htk is in layman/science
But:
- julius has a file colision with package dev-java/java-config (the file /usr/bin/jcontrol) _________________ abe |
|
Back to top |
|
|
keba Guru
Joined: 02 Jun 2006 Posts: 328 Location: Switzerland
|
Posted: Fri Jan 18, 2013 12:20 am Post subject: |
|
|
Has anyone tried to install the new Simon-0.4.0? Obviously, it's not in portage, but I was hoping someone might have an ebuild?
Just have a look on http://simon-listens.blogspot.fr/ for a link to the source code. Apparently, in this release, HTK has become optional. However, it has some new dependencies, and I don't really know how to install it. So if anyone has an idea, I'd be interested _________________ Prayer can change the world! |
|
Back to top |
|
|
keba Guru
Joined: 02 Jun 2006 Posts: 328 Location: Switzerland
|
Posted: Sat Mar 09, 2013 4:03 am Post subject: |
|
|
One of the new dependencies of Simon 0.4 is pocketsphinx. On the other hand, HTK is not required any more. This is an ebuild I've written (I'm sure it could be done more elegantly though). Put it under app-accessibility/pocketsphinx :
Code: | # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/bibletime-2.8.ebuild,v 1.1 2010/05/16 02:03:03 beandog Exp $
EAPI="2"
inherit cmake-utils
DESCRIPTION="Speech recognizer library written in C"
HOMEPAGE="http://cmusphinx.sourceforge.net/"
SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
#SRC_URI="http://aarnet.dl.sourceforge.net/project/cmusphinx/pocketsphinx/0.8/pocketsphinx-0.8.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug"
RDEPEND=">=app-accessibility/sphinxbase-0.8"
DEPEND="${RDEPEND}"
DOCS="ChangeLog README"
src_configure() {
econf
}
src_compile() {
emake
}
src_install() {
emake DESTDIR="${D}" install
}
|
Note: I have not yet managed to create a working ebuild for Simon. The build script that is provided in the package wants to do this, but I don't know how to transform it into an ebuild:
Code: |
mkdir build 2> /dev/null
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
su -c 'make install && ldconfig'
kbuildsycoca4
|
_________________ Prayer can change the world! |
|
Back to top |
|
|
|