Giter VIP home page Giter VIP logo

clone_command_word_rec's Introduction

Command Word Recognition

Command Word Recognition is based on a phoneme level GMM-HMM embedding model

dependency

pip install -r requirements.txt

Steps

Step1, Build lexicon

Build lexicon which maps a character to phonemes

python DaCiDian/DaCiDian.py

Step2, Prepare dataset

python prep_data.py --mfcc_dim 13 --min_thresh 5

phoneme whose frequency less than 5 will be replaced by 'UNK'

Step3, Start training

python main.py

it takes about 4 min for a step on my Win10 and about 45s on my Manjaro Linux. Default GMM feature dim is 13. It can give better acc on test set than dim=39

Step4, Test

python test.py

Remember to change model_path in test.py. It will give viterbi align and accuracy.

Results

results of 13 dim mfcc feature:

results of 39 dim mfcc feature:

viterbi align example:

References

clone_command_word_rec's People

Contributors

luo3300612 avatar

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.