{"id":27818172,"url":"https://github.com/demfier/cmusphinx_training","last_synced_at":"2026-02-04T12:05:21.402Z","repository":{"id":91214876,"uuid":"84688375","full_name":"Demfier/cmusphinx_training","owner":"Demfier","description":"Repo for cmusphinx activities","archived":false,"fork":false,"pushed_at":"2020-05-17T15:24:02.000Z","size":82967,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T14:54:14.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Demfier.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-12T00:08:40.000Z","updated_at":"2020-05-17T15:24:08.000Z","dependencies_parsed_at":"2023-07-04T14:47:07.044Z","dependency_job_id":null,"html_url":"https://github.com/Demfier/cmusphinx_training","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Demfier/cmusphinx_training","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2Fcmusphinx_training","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2Fcmusphinx_training/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2Fcmusphinx_training/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2Fcmusphinx_training/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Demfier","download_url":"https://codeload.github.com/Demfier/cmusphinx_training/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demfier%2Fcmusphinx_training/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29084088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-01T15:43:41.292Z","updated_at":"2026-02-04T12:05:21.397Z","avatar_url":"https://github.com/Demfier.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Model Details\n\nThis model has been trained on the an4 database.\u003cbr\u003e\n\n## Results\n\n**SENTENCE ERROR** : 55.4%\u003cbr\u003e\n**WORD ERROR RATE** : 18.5%\u003cbr\u003e\n\nTo see a more detailed description of the model result, check the [result folder](result/).\n\n## Errors that I faced \u0026 how I countered them\n\nI tried to follow the steps mentioned in the tutorial [here](http://cmusphinx.sourceforge.net/wiki/tutorialam) very closely, but I am a human my friend! Doing mistakes is in our nature! So don't worry if you too did the same mistakes I did, it's completely normal :)\u003cbr\u003e\n\nBelow is the list of errors I faced and how I counterd them.\u003cbr\u003e\n**Note:** My first step was to check my log file (located at ```an4/logdir``` folder), google out the errors and see what comes. (Pretty obvious isn't it !)\u003cbr\u003e\n\n* _Configuration (e.g. etc/sphinx_train.cfg) not defined_ :\u003cbr\u003e\n    \u003cpre\u003e\n    Running the training\n    Configuration (e.g. etc/sphinx_train.cfg) not defined\n    Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.\n    BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.\n    \u003c/pre\u003e\n    **Solution:** Set environment variables using the following commands:\u003cbr\u003e\n\n    ```export PATH=/usr/local/bin:$PATH``` \u003cbr\u003e\n    ```export LD_LIBRARY_PATH=/usr/local/lib``` \u003cbr\u003e\n    ```export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig``` \u003cbr\u003e\n\n* _Training failure while decoding the model_ :\u003cbr\u003e\n    \u003cpre\u003e\n    Sphinxtrain path: /usr/local/lib/sphinxtrain\n    Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain\n    Running the training\n    MODULE: 000 Computing feature from audio files\n    Extracting features from  segments starting at  (part 1 of 1)\n    Extracting features from  segments starting at  (part 1 of 1)\n    Feature extraction is done\n    MODULE: 00 verify training files\n    Phase 1: Checking to see if the dict and filler dict agrees with the phonelist file.\n    .\n    .\n    .\n    Skipped:  $ST::CFG_MMIE set to 'no' in sphinx_train.cfg\n    MODULE: 65 MMIE Training\n    Skipped:  $ST::CFG_MMIE set to 'no' in sphinx_train.cfg\n    MODULE: 90 deleted interpolation\n    Skipped for continuous models\n    MODULE: DECODE Decoding using models previously trained\n            Decoding 3 segments starting at 0 (part 1 of 1)\n            0%\n    This step had 3 ERROR messages and 0 WARNING messages.  Please check the log file for details.\n            Aligning results to find error rate\n    word_align.pl failed with error code 65280 at /usr/local/lib/sphinxtrain/scripts/decode/slave.pl line 173.\n    \u003c/pre\u003e\n\n    **Solution:** Configure ```etc/sphinx_train.cfg``` properly: I believe this error arised due to some unset variables in our configuration file like.\n    * ${CFG_DIRLABEL}: Set to directory label such as ptm, ci etc..\n    * ${CFG_N_TIED_STATES}: Set to number of tied states value. \u003cbr\u003e\n    (e.g. $DEC_CFG_MODEL_NAME: Set $CFG_EXPTNAME.cd_${CFG_DIRLABEL}_${CFG_N_TIED_STATES} --\u003e $CFG_EXPTNAME.cd_ptm_200)\n    * ${CFG_BASE_DIR}: Set to your database directory.\n    * ${CFG_EXPTNAME}: Set to your database name. \u003cbr\u003e\n    (e.g ${CFG_BASE_DIR}/model_architecture/${CFG_EXPTNAME}.tree_questions --\u003e /home/gaurav/python-scripts/py/scripts/sphinx-source2/an4/model_architecture/an4.tree_questions)\n* _Training failure while decoding the model_ :\u003cbr\u003e\n    **Solution**: \u003cbr\u003e\n    Well something similar came to my terminal like last time, but the reason was different. This time, it couldn't find the language model file. On searching my ```etc/``` folder, I found out that the our lm file was present by the name of ```an4.ug.lm.DMP```. Still not sure where that \"ug\" came from and I would love to know it. All I did was to change the filename to ```an4.lm.DMP``` and it seemed to do the trick.\n\n## Additional Note:\nUnfortunately, I won't be able to assist with the errors anymore as I am no longer maintaining this repository. You can, however, turn to these resources for help:\n\n- [CMU Sphinx FAQ](https://cmusphinx.github.io/wiki/faq/)\n- [CMU Sphinx Discussion Forum](https://sourceforge.net/p/cmusphinx/discussion/help/)\n- [Sphinx4 Discussion Forum](https://sourceforge.net/p/cmusphinx/discussion/sphinx4/)\n- Some other communication links can be found [here](https://cmusphinx.github.io/wiki/communicate/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemfier%2Fcmusphinx_training","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemfier%2Fcmusphinx_training","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemfier%2Fcmusphinx_training/lists"}