Datasets for the experiments can be obtained from USPS datasets MNIST datasets Reference http://www.cenparmi.concordia.ca/~jdong/HeroSvm.html http://www-i6.informatik.rwth-aachen.de/~keysers/Pubs/SPR2002/comb.html
pLSA Matlab demo code (by Josef Sivic, VGG, Univ. of Oxford) Another implementation of the pLSA model (by Peter Gehler) Yet Another implementation (by Jakob Verbeek)
0. untar the source distribution in SRILM_DIR 1. set the environment variable bash> export SRILM=SRILM_DIR 2. check the gcc version and the location of tcl library e.g. bash> gcc --version bash> which gcc bash> whereis tcl 3. edit the common/Makefile.machine.i686-gcc4 bash> chmod u+rwx Makefile.machine.i686-gcc4 bash> emacs -nw Makefile.machine.i686-gcc4 # GCC_FLAGS = -mtune=pentium3 -Wreturn-type -Wimplicit # CC = /usr/local/lang/gcc-4.2.2/bin/gcc $(GCC_FLAGS) # CXX = /usr/local/lang/gcc-4.2.2/bin/g++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES GCC_FLAGS = -mtune=pentium3 -Wreturn-type -Wimplicit CC = /usr/bin/gcc $(GCC_FLAGS) CXX = /usr/bin/g++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES ... #ADDITIONAL_INCLUDES = ADDITIONAL_INCLUDES = -I/usr/include/tcl 4. Make bash> make 1> logFile 2> errFile 5. That is it