Giter VIP home page Giter VIP logo

phoneme_recognition's Introduction

Phoneme Recognition using RecNet

License Python

This repository contains a automated phoneme recognition based on a recurrent neural network. The implementation uses the RecNet framework which is based on Theano. The used speech data set is the TIMIT Acoustic-Phonetic Continuous Speech Corpus.

Requirements

  • The pre-process requires the SND file format library. It's installable via the APT interface.
sudo apt-get install libsndfile-dev
  • There's a problem in 'scikits.audiolab's setup.py file. Workaround: first update pip, second install numpy, then requirements
  • Furthermore the model requires the packages listed in the requirements.txt.
pip install -r requirements.txt
  • This phoneme recognition uses the RecNet framework which needs to be installed.
git clone https://github.com/joergfranke/recnet.git
cd recnet
python setup.py install

Please find a proposal for setup phoneme recognition in setup.sh

How to use it

Step 1: Make a feature/target data set

This step contains the whole pre-process and creates a data set in the form of two lists, one with sequences of features (MFCC + log-energy + derivations) and one with corresponding sequences of targets (correct phonemes). This pre-process is orientated on Graves and Schmidhuber, 2005 . The data set gets stored in the klepto file format. Do the following for creating the data set:

  1. Add path to the TIMIT corpus
  2. Run make_data_set.py

Step 2: Train recurrent neural network model

The second step contains the training of the model. This phoneme recognition uses for instance gated recurrent units (GRU) with layer normalization. Do the following for training the model:

  1. Run train_model.py
  2. Find the log file of training in the log folder.

Step 3: Evaluate exercised model

At least the exercised model gets evaluated on the test set. The log loss and the rate of correct detected phonemes will calculated. A plot shows the input features, the true and the predicted phonemes.

  1. Run evaluate_model.py

phoneme_recognition's People

Contributors

joergfranke avatar

Watchers

 avatar  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.