Coder Social home page Coder Social logo

nlp-discrete_hmm's Introduction

Discrete HMM for Speech Recogition

In acoustic model,

  • each word consists of syllables
  • each syllable consists of phonemes
  • each phoneme consists of some (hypothetical) states.

Each phoneme can be described by a HMM (acoustic model). Each time frame, with an observance (MFCC vector) mapped to a state. Hence, there are state transition probabilities a_ij and observation distribution b_j(o_t) in each phoneme acoustic model.

Usually in speech recognition we restrict the HMM to be a left-to-right model, and the observation distribution are assumed to be a continuous Gaussian mixture model. Here we use characters to simulate the observance.

training HMM

  • Algorithm: Baum-Welch
  • input:
    • observed sequences (seq_model_01~05.txt)
    • initial state & transition probabilities (model_init.txt)
    • number of iteration
  • output:
    • trained models for 5 sequences

testing HMM

  • Algorithm: Viterbi
  • input:
    • trained model
    • testing sequences
    • modellist.txt
  • output
    • best labels (with the higest probability among the five models)

Experiment

see the document

nlp-discrete_hmm's People

Contributors

churia avatar

Watchers

James Cloos 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.