1CMU Sphinx common libraries 2--------------------------- 3 4This package contains the basic libraries shared by the CMU Sphinx 5trainer and all the Sphinx decoders (Sphinx-II, Sphinx-III, and 6PocketSphinx), as well as some common utilities for manipulating 7acoustic feature and audio files. 8 9Installation Guide: 10 11This section contains installation for various platforms 12 13Linux/Unix installation 14^^^^^^^^^^^^^^^^^^^^^^^ 15 16sphinxbase is used by other modules. The convention requires the 17physical layout of the code looks like this: 18 package/ 19 sphinxbase/ 20 21So if you get the file from a distribution, you might want to rename 22sphinxbase-X.X to sphinxbase by typing 23 24 > mv sphinxbase-X.X sphinxbase (where X.X being the version of sphinxbase) 25 26If you downloaded directly from the Subversion repository, you need to 27create the "configure" file by typing 28 29 > ./autogen.sh 30 31If you downloaded a release version or if you have already run 32"autogen.sh", you can build simply by running 33 34 > ./configure 35 > make 36 37If you are compiling for a platform without floating-point arithmetic, 38you should instead use: 39 40 > ./configure --enable-fixed --without-lapack 41 > make 42 43You can also check the validity of the package by typing 44 45 > make check 46 47and then install it with 48 49 > make install 50 51This defaults to installing SphinxBase under /usr/local. You may 52customize it by running ./configure with an argument, as in 53 54 >./configure --prefix=/my/own/installation/directory 55 56XCode Installation (for iPhone): 57^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 58Sphinxbase uses the standard unix autogen system, and there's a script 59included, 'build_for_iphone.sh' that will setup configure to create 60binaries that are XCode friendly. 61 621) ./autogen.sh 632) ./build_for_iphone.sh simulator 643) ./build_for_iphone.sh device 65 66Then in XCode, open your project info, and for 'All Configurations', and 67set: 68 69'Header Search Paths' = "$(HOME)$(SDK_DIR)/include/sphinxbase" 70'Library Search Paths' = "$(HOME)$(SDK_DIR)/lib" 71'Other Linker Flags' = "-lsphinxbase" 72 73Windows Installation: 74^^^^^^^^^^^^^^^^^^^^^ 75To compile sphinxbase in Visual Studio 2010 Express (or newer): 761, unzip the file. 772, rename the directory to sphinxbase 783, go into the sphinxbase folder and click sphinxbase.sln 794, in the menu, choose Build -> Rebuild All -> Batch Build -> Build 80 81In Step 4, make sure all projects are selected, preferably the 82"Release" version of each. 83 84If you are using cygwin, the installation procedure is very similar to 85the Unix installation. However, there is no audio driver support in 86cygwin currently so one can only use the batch mode recognzier. 87 88