The goal of SG-SpeechWeb-Demo is to provide an online demonstration of various speech recognition systems.
It provides a clean and well documented REST API to interact with. By default, LIUM_SpkDiarization will be used for the diarisation step and CMU Shpinx for the transcribing part.
The REST API is developed with Scala using Play! Framework 2.2.1.
All what you need is a JDK and Play! Framework. You will find how to install Play! on the dedicated website.
Once Play! is installed just launch play run at the root of the project. When all the required libraries will have been downloaded, you should be able to access to the documentation of the API by accessing http://localhost:9000 in your browser.
Glpk, ffmpeg
Your JVM use the C locale. To do this, before launching play, be sure to set you locale accordingly:
export LC_LANG=C
The diarization tool used is available on the official Wiki. A version is packaged in ./bin/LIUM_SpkDiarization-4.2.jar. So you don't need to download anything.
TODO
By default, a local SQLite database is used. To create it and load the default fixtures, just run:
./reload-db.sh
To enter the Play! (SBT) console just type play at the root of the project. Then you'll be able to run multiple commands:
compileto compile the source code.~compileto watch the source code for changes and re-compile when needed.cleanto ... clean the source code.testto launch the test suite.~testto watch the tests source code for changes and launch the test suite when needed.test-only test.AudioFileApiControllerSpecto only launch the test suite contained in the classAudioFileApiControllerSpecof the package namedtest.runto launch the webserver in order to access the app using http://localhost:9000 in your browser.~runto watch the source code for changes, re-compile when needed and to launch the webserver.
