https://github.com/agrover112/goodness-of-pronunciation

https://github.com/agrover112/goodness-of-pronunciation

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: Agrover112
  • Language: Python
  • Default Branch: master
  • Size: 10.6 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of sweekarsud/Goodness-of-Pronunciation
Created over 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme

README.md

Goodness of Pronunciation (GoP)

This code reflects the work described in the INTERSPEECH 2019 published paper on "An improved goodness of pronunciation (GoP) measure for pronunciation evaluation with DNN-HMM system considering HMM transition probabilities".

Requirements :

  • Python (tested with v.2.7.5 & v.3.5.7).
  • Kaldi ASR toolkit (for documentation checkout : http://kaldi-asr.org/) considering acoustic models trained with nnet2 (Dan's recipe) (tested with nnet2 & nnet3) on LibriSpeech.

How to run the code :

Run the below code (propgopeqn.py) to compute the score using the proposed GoP formulation by passing alignmentinfile.txt_ and posteriorinfile.ark_ generated for a single learner's utterance. python python prop_gop_eqn.py posterior_infile.ark alignment_infile.txt gop_outfile.txt * The alignmentinfile.txt_ file is the output of the forced-alignment of the learner's uttered speech (.wav file) and this is obtained using align.sh. * The posteriorinfile.ark_ file contains the frame level posterior-probabilities of the learner's uttered speech (.wav file) and this is obtained using nnetamcompute.cc. * The gopoutfile.txt_ file contains the score for each phoneme.

How to generate the input files:

NOTE : * The above Python script requires a lookup table to generate the scores for an acoustic model as discussed in the paper, which can be generated using the following code : shell ./gen_lookup_table.sh

Placement of the downloaded folder :

  • Once the Goodness-of-Pronunciation-master.zip file is downloaded it needs to be placed in /home/user/kaldi/egs/NativeAcousticModel/s5/ and needs to unzipped as Extract Here which will result in the creation of the following path /home/user/kaldi/egs/NativeAcousticModel/s5/Goodness-of-Pronunciation-master/. The native acoustic model needs to be trained on nnet2 with all paths functional in exp folder.
  • Once the path is created it will have the following file structure : bash ├── kaldi_folder │ ├── native_acoustic_model │ │ ├── s5 │ │ │ ├── Goodness-of-Pronunciation-master │ │ │ │ ├── extract_from_alignments.sh │ │ │ │ ├── gen_lookup_table.sh │ │ │ │ ├── modify_post.sh │ │ │ │ ├── extract_from_alignments.sh │ │ │ │ ├── gop_outfile.txt │ │ │ │ ├── prop_gop_eqn.py │ │ │ │ ├── reqd_files │ │ │ │ │ ├── alignment_infile.txt │ │ │ │ │ ├── posterior.txt │ │ │ │ │ ├── posterior_infile.ark │ │ │ │ │ ├── show_transitions.txt │ │ │ │ │ ├── lookup_table.txt │ │ │ │ │ ├── tmp_t_ids.txt │ │ │ │ │ ├── tmp_phones.txt │ │ │ │ │ ├── tmp_segments.txt

Citing:

If you find our work useful, please cite: @inproceedings{Sudhakara2019, author={Sweekar Sudhakara and Manoj Kumar Ramanathi and Chiranjeevi Yarra and Prasanta Kumar Ghosh}, title={{An Improved Goodness of Pronunciation (GoP) Measure for Pronunciation Evaluation with DNN-HMM System Considering HMM Transition Probabilities}}, year=2019, booktitle={Proc. Interspeech 2019}, pages={954--958}, doi={10.21437/Interspeech.2019-2363}, url={http://dx.doi.org/10.21437/Interspeech.2019-2363} }

Owner

  • Login: Agrover112
  • Kind: user

Humans trying to understand machines and people.

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 81
  • Total Committers: 3
  • Avg Commits per committer: 27.0
  • Development Distribution Score (DDS): 0.074
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Sweekar Sudhakara 3****d 75
Agrover112 4****2 4
Sweekar Sudhakara 3****6 2

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels