Coder Social home page Coder Social logo

entonytang / feature-extraction-for-speech-recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peidong-wang/feature-extraction-for-speech-recognition

0.0 2.0 0.0 13 KB

Python Implementation of the Feature Extraction Process in Kaldi

License: Apache License 2.0

Python 100.00%

feature-extraction-for-speech-recognition's Introduction

Feature-Extraction-for-Speech-Recognition

Python Implementation of the Feature Extraction Process in Kaldi

Brief Discription

This repository contains Python scripts for the feature extraction process in speech recognition systems. It is originated from Kaldi (https://github.com/kaldi-asr/kaldi), but may be more flexible for most speech recognition systems, especially end-to-end ones.

Contents

  1. feature_extraction_template.py: a template for the feature extraction process, blocks which need to be filled by the user are commented with the keyword "BLOCK"
  2. utils/extract_window.py: the preprocessing and window slicing functions
  3. utils/fft2melmx.py: an adopted script calculating mel weights for the conversion from the fft feature to the mel feature, see the comments in the file for details
  4. utils/deltas.py: the delta feature calculation function used in TensorFlow graphs
  5. utils/deltas_np.py: the delta feature calculation function which can be used without TensorFlow

Arguments

Most of the arguments can be modified in feature_extraction_template.py. The default arguments in the template are used for the wide residual BLSTM network (WRBN) based acoustic model.

Known Limitations and Comments

  1. The feature_extraction_template.py only shows the feature extraction process with the usage of TensorFlow. It should be easy to extend it to the version without TensorFlow (using utils/deltas_np.py).
  2. Currently the log energy pre window function in Kaldi is not supported. This function is seldomly used in most of my work though. Contributions are welcome.
  3. Currently we only support filter-bank (fbank) features. It should be easy to extend to other popular features such as MFCC.

feature-extraction-for-speech-recognition's People

Contributors

peidong-wang 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.