Final Project (Phase I)

Preview:

DESCRIPTION

Final Project (Phase I). You are asked to Download and install CMU Sphinx “Open Source Toolkit for Speech Recognition” in your machine. This phase is required for completing your final project. Please note: You have to install the latest version of Sphinx (Sphinx-4). - PowerPoint PPT Presentation

Citation preview

Open Content – Free Tutorial kamalharmoni@yahoo.com

Final Project (Phase I)You are asked to Download and install CMU Sphinx “Open Source Toolkit for Speech Recognition” in your machine.

This phase is required for completing your final project.

Please note:• You have to install the latest version of Sphinx (Sphinx-4).• Installation can be done in Sun Solaries, Mac, Linux, and Win32 operating systems. (I Prefer Linux, but not compulsory).• You have to be able to run one of the demos comes with Sphinx.• Your team members must present the installation, running the demo, and be able to answer any related questions.• Deadline is Saturday Jan 30th, 2010 after the class “schedule for presentation will be announced later on”.• The marks for this Phase are (5 Marks)

**Please, refer to the learningzone for any updates.

Please use these links for more help:

http://cmusphinx.sourceforge.net/sphinx4/

http://cmusphinx.sourceforge.net/wordpress/develop/

Open Content – Free Tutorial kamalharmoni@yahoo.com

Guide• Install FC12

• Install ant– #yum install ant

• Install sun JDK– Download from sun linux platform

• Download and Test Sphinx

Open Content – Free Tutorial kamalharmoni@yahoo.com

#yum install antAnd test ant if work or not

It works

Install ant :

Open Content – Free Tutorial kamalharmoni@yahoo.com

Verify environment:

Open Content – Free Tutorial kamalharmoni@yahoo.com

JDK 6 from sun website:Download jdk 6 from

http://java.sun.com/javase/downloads/widget/jdk6.jsp

Open Content – Free Tutorial kamalharmoni@yahoo.com

Install JDK# jdk-6u17-nb-6_8-linux-ml.sh

Install JDK6 :

Open Content – Free Tutorial kamalharmoni@yahoo.com

Default installation, We didn't change anything and please remember JDK and netbeans path.

Install JDK6 :

Open Content – Free Tutorial kamalharmoni@yahoo.com

Installation process

Install JDK6 :

Open Content – Free Tutorial kamalharmoni@yahoo.com

http://sourceforge.net/projects/cmusphinx/files/sphinx4/Files•sphinx4-1.0beta3-src.zip •sphinx4-1.0beta3-bin.zip

Download CMU Sphinx :

Open Content – Free Tutorial kamalharmoni@yahoo.com

Files•sphinx4-1.0beta3-bin.zip

Extract Files:

Open Content – Free Tutorial kamalharmoni@yahoo.com

located at lib/jsapi.sh•# chmod +x jsapi•#./jsapi.sh

Got error due toWhen we extract file we login as rootSo when run jsapi we login as user

Configure jsapi:

Open Content – Free Tutorial kamalharmoni@yahoo.com

• $ su -> enter password for root• # mkdir /Sphinx-bin• # chmod 777 /Sphinx-bin• # exit • $ unzip sphinx4-1.0beta3-bin.zip• $ cd sphinx4-1.0beta3/lib• $ Chmod +x jsapi.sh• $ ./jsapi.sh

Overcome jsapi permission problem:

Open Content – Free Tutorial kamalharmoni@yahoo.com

Run again$ ./jsapi.sh

Configure jsapi:

Open Content – Free Tutorial kamalharmoni@yahoo.com

Uudecode not installConfigure jsapi located at lib/jsapi.sh

•# chmod +x jsapi•#./jsapi.sh

Configure jsapi:

Open Content – Free Tutorial kamalharmoni@yahoo.com

Since uudecode not foundDownload from net (we using rpmfusion repositories )

# yum install sharutils

Open Content – Free Tutorial kamalharmoni@yahoo.com

Uuencode installed:

Open Content – Free Tutorial kamalharmoni@yahoo.com

Reconfigure jsapi:

Open Content – Free Tutorial kamalharmoni@yahoo.com

Jsapi success install and configure

Reconfigure jsapi:

Open Content – Free Tutorial kamalharmoni@yahoo.com

Configure u’r input device:When I try to run no voice detect. So I need to configure voice input device.Some computer have 2 input device like my labtop build in and mic jack.

Open Content – Free Tutorial kamalharmoni@yahoo.com

Test any demo provided :I use HelloWorld to test

$ java -mx312m -jar bin/HelloWorld.jar

Open Content – Free Tutorial kamalharmoni@yahoo.com

The End

• Now U can present your work• Note available

– http://kamalharmoni.com/uum/adv-programming/

Recommended