210 likes | 369 Views
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).
E N D
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/
Guide • Install FC12 • Install ant • #yum install ant • Install sun JDK • Download from sun linux platform • Download and Test Sphinx
Install ant : #yum install ant And test ant if work or not It works
JDK 6 from sun website: Download jdk 6 from http://java.sun.com/javase/downloads/widget/jdk6.jsp
Install JDK6 : Install JDK # jdk-6u17-nb-6_8-linux-ml.sh
Install JDK6 : Default installation, We didn't change anything and please remember JDK and netbeans path.
Install JDK6 : Installation process
Download CMU Sphinx : • http://sourceforge.net/projects/cmusphinx/files/sphinx4/ • Files • sphinx4-1.0beta3-src.zip • sphinx4-1.0beta3-bin.zip
Extract Files: • Files • sphinx4-1.0beta3-bin.zip
Configure jsapi: Got error due to When we extract file we login as root So when run jsapi we login as user • located at lib/jsapi.sh • # chmod +x jsapi • #./jsapi.sh
Overcome jsapi permission problem: • $ 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
Configure jsapi: Run again $ ./jsapi.sh
Configure jsapi: • Configure jsapi • located at lib/jsapi.sh • # chmod +x jsapi • #./jsapi.sh Uudecode not install
Since uudecode not found Download from net (we using rpmfusion repositories ) # yum install sharutils
Reconfigure jsapi: Jsapi success install and configure
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.
Test any demo provided : I use HelloWorld to test $ java -mx312m -jar bin/HelloWorld.jar
The End • Now U can present your work • Note available • http://kamalharmoni.com/uum/adv-programming/