Archive for the 'Linux' Category

First step of developing Sphinx applications

I wrote about installing Sphinx3 last time. It can be possible to integrate speech recognition in your applications with Sphinx3 API. Before we can go to further step, we have to know how to compiling and link library to you programs. I testes that by copying files main_livedecode.c and main_livepretend.c in sphinx3/src/programs to my directory. [...]

Installing Sphinx3 on Linux

SPHINX is one of the best and most versatile recognition systems in the world today. I just installed Sphinx3 from tar ball source file as suggest in their page. I choose SPHINX-3 because it uses continuous HMMs. It can handle both live and batch decoding. Currently, it is the decoder most actively developed. I build [...]

Compiling Festival applications

As suggested in its docs page, there are some details in compiling and linking Festival C/C++ applications. You need to install at least libesd0-dev, libncurses5-dev and festival-dev (on Ubuntu 8.04). I test by copy the simple example from their page to my source test_festival.cpp which is //file: test_festival.cpp #include <festival.h>   int main(int argc, char [...]

Learning AIML through QAIML

Another way to learn AIML is learning by using it. There is a free service called Pandorabots which allows you to create your own AIML bot and train it. However, you have to work online. If we want to use it offline, we have a great deal of open source implementations of AIML. Among of [...]

Flite – a small text to speech for embedded systems

Last time I wrote about Festival: Text to Speech on Linux. Now I found a derived version of them, it called Flite. Flite (festival-lite) is a small, fast run-time synthesis engine developed at CMU and primarily designed for small embedded machines and/or large servers. Flite is designed as an alternative synthesis engine to Festival for [...]

Build Your Own ARM Cross Compiler Toolchain – Revision

Refer to my article which I failed to compile the GNU ARM toolchain on Ubuntu. Now the problem was resolved by one of our member in the forums (please see the full post here). He created an automatic script called GNU ARM Installer (download gnu-arm-installer.tar.gz here). You can build the cross compiler for ARM with [...]

Sphinx II – Speech Recognition on Ubuntu Linux

I just set up CMU Sphinx II on Ubuntu. I just want to test how this Linux Speech Recognition work. I installed the following packages: libsphinx2g0, libsphinx2-dev, sphinx2-bin and sphinx2-hmm-6k. The resource file will be in /usr/share/sphinx2/model/ which contains hmm (Hidden Markov model based-file) and model (Language Model related files). I just type sphinx2-demo to [...]

Festival: Text to Speech on Linux

If you are MS$ fan, you are lucky obtained the MS native Text to Speech and Speech Recognition system. Fortunately, for a Unix-like user, Festival provides such a system. I am using the Ubuntu Linux. To enable Speech to Text, I installed these packages: festival and festvox-kallpc16k. Then, I tested by putting these command: echo [...]

Avimator fixed for Ubuntu

Avimator is open-source animation avatar editor for Second Life. This is very interesting because it may can be integrated with AI tool. However, it fails compiling in Ubuntu due to the name file case sensitive (.h or .H) of FLTK. After I fixed this problem, it work fine. You can download my fixed version for [...]

Compiling wxWidgets Application Code

If you are writing a code that links to wxWidgets library, you can use these command to compile the code g++ `wx-config –cxxflags` `wx-config –libs` myapp.cpp