Download ppt - Final Project (Phase I)

Transcript
Page 1: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

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/

Page 2: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Guide• Install FC12

• Install ant– #yum install ant

• Install sun JDK– Download from sun linux platform

• Download and Test Sphinx

Page 3: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

#yum install antAnd test ant if work or not

It works

Install ant :

Page 4: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Verify environment:

Page 5: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

JDK 6 from sun website:Download jdk 6 from

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

Page 6: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

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

Install JDK6 :

Page 7: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

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

Install JDK6 :

Page 8: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Installation process

Install JDK6 :

Page 9: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

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

Download CMU Sphinx :

Page 10: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Files•sphinx4-1.0beta3-bin.zip

Extract Files:

Page 11: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

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:

Page 12: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

• $ 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:

Page 13: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Run again$ ./jsapi.sh

Configure jsapi:

Page 14: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Uudecode not installConfigure jsapi located at lib/jsapi.sh

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

Configure jsapi:

Page 15: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

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

# yum install sharutils

Page 16: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Uuencode installed:

Page 17: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Reconfigure jsapi:

Page 18: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Jsapi success install and configure

Reconfigure jsapi:

Page 19: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

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.

Page 20: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

Test any demo provided :I use HelloWorld to test

$ java -mx312m -jar bin/HelloWorld.jar

Page 21: Final Project (Phase I)

Open Content – Free Tutorial [email protected]

The End

• Now U can present your work• Note available

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


Recommended