https://github.com/mschuldt/cmu_sphinx4_demo
Building the CMU Sphynx transcriber demo
https://github.com/mschuldt/cmu_sphinx4_demo
Last synced: 12 months ago
JSON representation
Building the CMU Sphynx transcriber demo
- Host: GitHub
- URL: https://github.com/mschuldt/cmu_sphinx4_demo
- Owner: mschuldt
- Created: 2017-12-05T22:32:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-06T06:28:42.000Z (over 8 years ago)
- Last Synced: 2025-06-24T08:02:05.090Z (12 months ago)
- Language: Java
- Homepage:
- Size: 406 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.org
Awesome Lists containing this project
README
Building and running a minimal Sphynx4 demo on Linux without an IDE
Based on code and instructions from: https://cmusphinx.github.io/wiki/tutorialsphinx4/
Build: =gradle build=
Run: =./run.sh=
Notes:
- Could only get it to work with the directory structure: src/main/java/DEMO/DEMO.java
- Configuration filenames in the demo file needed to be fixed
- =test.wav= copied from sphinx4/sphinx4-samples/build/resources/main/edu/cmu/sphinx/demo/speakerid/test.wav
- Ran =mvn install= but I'm not sure if it was actually needed
- =SPHINX_SRC= in run.sh and the configuration filepaths in =TranscriberDemo.java= need to be updated with the sphynx4 source directory path
Some build system notes, not mentioned in the instructions (probably obvious if you understand it):
- At top of =build.gradle= add: ~apply plugin: 'java'~
- Dependencies in =pom.xml= need to wrap with a 'dependencies' tag
- Other attributes needed for the =pom.xml= project: modelVersion, groupId, artifactId, and version