Date post: | 29-Jan-2016 |
Category: |
Documents |
Upload: | kathryn-cannon |
View: | 212 times |
Download: | 0 times |
Installing SPHINX
by:
COLLEGE OF ART & SCIENCEUNIVERSITI UTARA MALAYSIA
STIW5023ADVANCED PROGRAMMING
:: Step 001 @ SPHINX
download required files
:: Step 002-1 @ SPHINX
JDK installation
:: Step 002-2 @ SPHINX
JDKsuccessfully installed
:: Step 003 @ SPHINX
extract ‘ant’ intoc:\ant
:: Step 004-1 @ SPHINX
extract ‘sphinx’ intoc:\sphinx
:: Step 004-2 @ SPHINX
extracted contents ofsphinx
:: Step 005-1 @ SPHINX
launchcommand prompt
:: Step 005-2 @ SPHINX
setupthe environment variable
Add the bin directory to your path:Path = %path%;c:\ant\bin;%JAVA_HOME%\bin
Set the ANT_HOME environment variable:Set ANT_HOME = c:\ant
Set the JAVA_HOME environment variable. This should be set to the directory where your JDK is installed:Set JAVA_HOME = C:\Program Files\Java\jdk1.6.0_18
:: Step 005-3 @ SPHINX
test path
optional:: Step 005 @ SPHINX
environment variablecould be set permanentlyunder system properties
if the setting is not properly set,there will an error later on.
as for an example::Like tools.jar missing
Cannot found Java
:: Step 006 @ SPHINX
test ‘ant’
‘ant’ is working
Buildfile: build.xml does not exist!the message means that we have to
write an individual buildfilefor our project.
:: Step 007-1 @ SPHINX
setup jsapi
:: Step 007-2 @ SPHINX
setup jsapi
:: Step 008-1 @ SPHINX
test SPHINX either it’s running or instead
:: Step 008-2 @ SPHINX
if there is a problem,the possibility is on input option.
use sound recorder utilityto verify our input capability.
thank you