I just downloaded Julius-3.5.2-Quickstart-Linux_build726.tgz. Then I extracted it into a folder with the name julius-352. Then I typed into the terminal ‘cd /home/ubuntu/julius-352‘. Then I typed ‘./julian -input mic -C julian.jconf‘. But the configuration of my microphone doesn’t work with Julian at the moment.
Archive for the ‘Testing’ Category
Julius-3.5.2-Quickstart-Linux
Wednesday, November 19th, 2008Grammar settings – importing a text
Wednesday, November 19th, 2008Let’s go into the section grammar settings, and click the button ‘Textimport’.
Welcome to the import of the grammar

Press the ‘Next>’ button.
HTK binaries in an Ubuntu 8.10 environment
Tuesday, November 18th, 2008Here are the HTK binaries in an Ubuntu 8.10 environment.
You will have to point to the green marked binaries when configuring Simon.
Julius Daemon under Intrepid Ibex
Tuesday, November 18th, 2008I just started juliusd. Those were the corresponding lines in the terminal:
ubuntu@ubuntu-desktop:~/simon/speech2text/trunk/src$ cd /home/ubuntu/simon/speech2text/juliusd/
ubuntu@ubuntu-desktop:~/simon/speech2text/juliusd$ ./juliusd
Afterwards, the juliusd window with the name “Julius Daemon” opened.

KDE4 cannot be installed on my computer
Tuesday, November 18th, 2008Obviously, KDE4 cannot be installed on my computer.

Do I need KDE4 to be able to build Simon? There is a file with the name FindKDE4.cmake. And this filename implies that KDE4 could be obligatory. Is that assumption true or false? I am using GNOME/Ubuntu. Should I use KDE/Kubuntu? Well, I will try to find an answer.
Trying to build Simon
Tuesday, November 18th, 2008I just changed into the directory trunk by entering the command cd /home/ubuntu/simon/speech2text/trunk. Then I typed ./build.sh. Obviously, it didn’t work out.
ubuntu@ubuntu-desktop:~/simon/speech2text/trunk$ ./build.sh
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/ubuntu/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:2 (find_package)
– Configuring done
CMake Error: Unable to open cache file for save. /home/ubuntu/simon/speech2text/trunk/build/CMakeCache.txt
CMake Error: : System Error: Permission denied
ubuntu@ubuntu-desktop:~/simon/speech2text/trunk$
Something went wrong. But what?
Edit: Probably it worked with the following line:
root@ubuntu-desktop:/home/ubuntu/simon/speech2text/trunk# ./build.sh
So it was necessary to be root = super user.
Building juliusd
Tuesday, November 18th, 2008I just switched into the juliusd folder by typing into the terminal cd /home/ubuntu/simon/speech2text/juliusd/. Afterwards, I typed “./build“.

The executable file “juliusd” is now ready.
Let’s take a look into the juliusd folder.

I hope that it will work.
Typing “HVite -V” into the terminal
Monday, November 17th, 2008I just typed into the terminal HVite -V. The result was that some HTK version information was being displayed.

Everything seems to be OK with my HTK installation.
I found this tip in this how-to:
“Type in “HVite -V” in a Command Console Window;
if your system lists all the options available to the hvite command, then HTK is installed properly.”
Installing Julius with the terminal under Ubuntu
Sunday, November 16th, 2008I just installed Julius. This was shown in (or typed into) the terminal:
ubuntu@ubuntu-desktop:~$ julius
The program 'julius' is currently not installed. You can install it by typing:
sudo apt-get install julius
bash: julius: command not found
ubuntu@ubuntu-desktop:~$ sudo apt-get install julius
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libavutil1d libpostproc1d libx264-57
Use 'apt-get autoremove' to remove them.
Suggested packages:
julius-voxforge
The following NEW packages will be installed:
julius
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 833kB of archives.
After this operation, 1909kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com intrepid/multiverse julius 4.0.2-0ubuntu1 [833kB]
Fetched 833kB in 1s (451kB/s)
Selecting previously deselected package julius.
(Reading database ... 162249 files and directories currently installed.)
Unpacking julius (from .../julius_4.0.2-0ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up julius (4.0.2-0ubuntu1) ...
ubuntu@ubuntu-desktop:~$
I hope that it will work. I didn’t know that it is possible to install Julius under Ubuntu using apt-get install.
I just took a look into the Synaptic Package Manager. And I found out that they offer three Julius-related packages.
The green marked package is the one that I just installed. It is getting more and more comfortable.
You may want to take a look into the details of the package julius-voxforge in Intrepid.
Installing additional packages with Synaptic
Tuesday, November 11th, 2008At the moment, I am installing additional packages with the Synaptic Package Manager.
I followed this list.
Trying to install Simon under Intrepid Ibex
Tuesday, November 11th, 2008Now I am trying to install Simon under Intrepid Ibex. This is the current line in the terminal:
root@ubuntu-desktop:/home/ubuntu/simon# svn co http://speech2text.svn.sourceforge.net/svnroot/speech2text
A new folder with the name speech2text has been created.
Because I want to change the ownership of the directory speech2text from root to ubuntu, I just made an instruction via the terminal. Here is the line:
root@ubuntu-desktop:/home/ubuntu/simon# sudo chown ubuntu /home/ubuntu/simon/speech2text
Obviously, it worked. I had to search the Internet to find the command chown.
This is the actual line in my terminal:
ubuntu@ubuntu-desktop:~$ cd /home/ubuntu/simon/speech2text/juliusd
And this is the next line which is being displayed:
ubuntu@ubuntu-desktop:~/simon/speech2text/juliusd$ ./build.sh
This looks good:
The executable file "juliusd" is now ready.
Issue "./juliusd" to start it.
ubuntu@ubuntu-desktop:~/simon/speech2text/juliusd$
Downloading Julius 4.02
Tuesday, November 11th, 2008I am now downloading Julius 4.02 because I am following theses instructions.
I just learned that there is a “HTK-to-Julius grammar converter”. Maybe I will take a look at the source code.
I just extracted the archive julius-4.0.2.tar.gz using the Archive Manager (under Ubuntu). Now I have to change into the directory.
root@ubuntu-desktop:/home/ubuntu# cd julius-4.0.2
After pressing the enter key, I am now in the correct directory.
root@ubuntu-desktop:/home/ubuntu/julius-4.0.2#
And now, I will type into the terminal ./configure && make. This is the corresponding line in the terminal:
root@ubuntu-desktop:/home/ubuntu/julius-4.0.2# ./configure && make
Obviously, some problems occured:
configure: error: flex library not found! installation terminated
configure: error: ./configure failed for gramtools
I don’t know whether these problems are substantial. And I don’t know how to fix them.
I just downloaded HTK
Tuesday, November 11th, 2008I just downloaded HTK following this instruction. Currently, I am trying to install Simon under Ubuntu Intrepid Ibex.
Afterwards, I compiled HTK. This was standing in the terminal:
root@ubuntu-desktop:/home/ubuntu/htk# ./configure && make
And then, I typed make install into the terminal. Here is the line from the terminal:
root@ubuntu-desktop:/home/ubuntu/htk# make install
And the result was that in the directory /usr/local/bin/ a lot of executables have been generated. Here are a few names of those executables: HBuild, HCompV, HCopy, HDMan, HERest, HInit, HList, HParse, etc..
I think that some of those executables will have to be linked from Simon. I hope to find that out later.
Which version of Qt am I using?
Monday, November 3rd, 2008I just checked which version of Qt I am using.
ubuntu@ubuntu-desktop:~$ qmake -v
QMake version 2.01a
Using Qt version 4.4.3 in /usr/lib
ubuntu@ubuntu-desktop:~$
It is Qt 4.4.3.
Simon is a very proudly project
Tuesday, September 30th, 2008Simon might be a very proudly project:
“The hit rate is also astonishing high similar to the windows vista integrated voice recognition. For an alpha release a very proudly project”
I don’t believe that Simon is better than the Vista speech recognition. But recently I sold my Vista operating system because I don’t need it. I hope that Simon will be (in a few years or so) a replacement for Dragon NaturallySpeaking 9 that I am currently using under Win XP.
Does the Byte order Mark cause a problem?
Tuesday, August 26th, 2008I just clicked on the button to read the selected text. A window with the name “missing words” opened.
So, obviously there is a problem with the first word. Some unknown characters are appearing. Maybe those characters are being displayed because I stored the text with the byte order mark? Maybe I should try to store the same text without the byte order mark? I should check this. So it might be bad if I am using a byte order mark. As far as I know, it is allowed to use a byte order mark in conjunction with UTF-8. But it is not necessary. Is that right? I am not sure. I am not an expert when it comes to byte order mark. Maybe I should read more about this topic in the Wikipedia.
executables.xml should be encoded in UTF-8
Tuesday, August 26th, 2008I just opened the file “H:/Program Files/simon/simon-0.1-alpha-2/conf/executables.xml” with Notepad++. I took a look at the encoding. The file was encoded in ANSI. That obviously means something different than UTF-8. But in the first line of the file, there was mentioned that the encoding would be UTF-8.
<?xml version="1.0" encoding="UTF-8"?>
So this is in my opinion a small mistake.
In this case, this mistake doesn’t cause any problems because only ASCII characters are being employed. But be careful! In other cases, there might occur some Mojibake.
It is possible that this file was created after I installed Simon on my computer. Well, I have to learn more about Simon. This all takes time. So a little patience is necessary.
wav files in the training.data folder
Wednesday, August 20th, 2008Let’s take a look into the training.data folder.
I have recorded a few words with the Simon application. Those words are stored as wav files. Each word should have two recordings. Obviously, the training data are stored using a specific file name. The first part of the file name is the recorded word. And the file name contains the date and the time.
Would it be possible to import wav files from the VoxForge project? Because VoxForge offers a lot of speech examples in the German and in the English language. But those wav files at VoxForge have a different naming convention.
Internet extensions
Tuesday, August 19th, 2008I’m just in the section about the Internet extensions.
I just checked out the textdownload-URL. Well, I get the impression that this XML file is missing some information. So in my opinion, I think that this XML file should have a first line (I think it is called root, but I’m not sure) that indicates the version and the encoding of the file. So the first line should/could look like this:
<?xml version="1.0" encoding="UTF-8"?>
As far as I know, this information is necessary to have a well formed XML document. But I am just a beginner when it comes to XML.
I would like to import text that follows the XML standard. But I have to know more about Simon. What are the tags that should be used when importing an XML text file with Simon? Does Simon care about the allowed XML tags? A bit more information would be helpful.
650 words in the word list
Tuesday, August 19th, 2008Recently, I had the problem that the display of the shadow dictionary obviously was incomplete (see last screenshot of this article). I am now taking a look into the general settings of Simon. Here is a screenshot:
If you look carefully at the screenshot, you can see that the maximal concurrently shown words in the list is 650. So maybe that is the reason why not all words were shown in the word list.
I was able to set the counter to the value of 100,000. So that means that I should be able to display 100,000 words concurrently. The last word that is being displayed is the word “ROADY”. But would it be possible to display more words than 100,000? I get the impression that it is impossible to display more than 100,000 words. But it would be good if Simon would enable the user to display more than 100,000 words. The reason is that e.g. the CMU pronunciation dictionary contains as far as I know more than 130,000 words. And I want to be able to see all of them.









