Archive for the 'Robotics and AI' 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 **argv)
{
[...]

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 [...]

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 [...]

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 [...]

Let’s Learn AIML

AI seems to fictitious story. When I think about what project should we do with AI, we sometime have no idea. Recently, there is a development of AIML (Artificial Intelligence Markup Language) which is applicable to chatbot. I have tested chatting with a chatbot like A.L.I.C.E. I’m amazed, it work very well (as we never [...]

Common Lisp as an AI language

Programming AI using standard programming languages, e.g., C/C++ or Java is not a good idea. It’s too general purpose language. I’m considering to select between (Common) Lisp and Prolog which are particularly designed for AI. Finally, I choose Lips as my main AI programming language. I have no reason why Lisp but I know that [...]