open content – free tutorial [email protected] final project (phase i) you are asked to...

21
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 30 th , 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/

Upload: luz-mathew

Post on 14-Dec-2015

219 views

Category:

Documents


3 download

TRANSCRIPT

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/

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

Open Content – Free Tutorial [email protected]

#yum install antAnd test ant if work or not

It works

Install ant :

Open Content – Free Tutorial [email protected]

Verify environment:

Open Content – Free Tutorial [email protected]

JDK 6 from sun website:Download jdk 6 from

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

Open Content – Free Tutorial [email protected]

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

Install JDK6 :

Open Content – Free Tutorial [email protected]

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

Install JDK6 :

Open Content – Free Tutorial [email protected]

Installation process

Install JDK6 :

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 :

Open Content – Free Tutorial [email protected]

Files•sphinx4-1.0beta3-bin.zip

Extract Files:

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:

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:

Open Content – Free Tutorial [email protected]

Run again$ ./jsapi.sh

Configure jsapi:

Open Content – Free Tutorial [email protected]

Uudecode not installConfigure jsapi located at lib/jsapi.sh

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

Configure jsapi:

Open Content – Free Tutorial [email protected]

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

# yum install sharutils

Open Content – Free Tutorial [email protected]

Uuencode installed:

Open Content – Free Tutorial [email protected]

Reconfigure jsapi:

Open Content – Free Tutorial [email protected]

Jsapi success install and configure

Reconfigure jsapi:

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.

Open Content – Free Tutorial [email protected]

Test any demo provided :I use HelloWorld to test

$ java -mx312m -jar bin/HelloWorld.jar

Open Content – Free Tutorial [email protected]

The End

• Now U can present your work• Note available

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