Giter Club home page Giter Club logo

kaldi-gop's Introduction

kaldi-gop

This project computes GOP (Goodness of Pronunciation) bases on Kaldi.

How to build

  1. Download and complile Kaldi. Note that you need to check out the branch 5.1 instead of master, and do not use the "--shared" option.
  2. Edit src/CMakeLists.txt to set the variable $KALDI_ROOT.
  3. Compile the binary:
cd src/
mkdir build && cd build
cmake .. && make

Run the example

cd egs/gop-compute
./run.sh

Results

You can find the GOP raw scores in eval_gop/gop.1 and the corresponding phoneme sequence (in numbers) in eval_gop/phonemes.1

Use Librispeech tri6b acoustic and language model

  1. Download the sample data and extract all files under egs/gop-compute. This package provides a toy speech dataset as well as a pretrained acousitc model
  2. Run ./run_tri6b.sh data/sample_raw_data/ for a demo
  3. Run ./run_tri6b.sh for usage information
  4. If you want to use your own data, you can organize your files similar to data/sample_raw_data/ in the sample data package
  5. The code assumes that the name of the root dir of your own data is the same as the speaker's ID, see data/sample_raw_data/spk2gender
  6. This script also outputs the symbolic phoneme sequence in eval_gop_tri6b/phonemes_sym.*

Huge thanks to Junbo Zhang for his initial kaldi-gop repository. I added the phoneme output and added an example on how to use another acoustic model for the computation.

kaldi-gop's People

Contributors

jimbozhang avatar

Watchers

 avatar

Forkers

heqiqi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.