Giter Club home page Giter Club logo

grapheme-phonemealignment's Introduction

English LTS

English letter to sound tool

cmudict

cmudict with syllables

wagon CART tree

Grapheme-Phoneme Alignment

This project aims to implement a algorithm proposed in paper as follows:

Pagel V, Lenzo K, Black A. Letter to Sound Rules for Accented Lexicon Compression[J]. 1998, cmp-lg/9808010.

Project Structure

  • g2p_data_pre_process.py - a python script to pre-process g2p data by rules.
  • g2p_aligner.py - a python script to train model by EM & DTW algorithm.
  • assets/ - store the training data sets.
  • log/ - settle the log files.

G2P Data Preprocess

Try to match every word-phones pair to every rule based on the locations of grapheme & phoneme.

how to match word-phones pair to a rule.

  1. Match a word-phones pair to a rule based on the locations of grapheme & phoneme.
  2. If a rule got matched, modify the phones and rematch the word-phones pair to every rule, until no rule would match.
  3. Set a admissible error to admit some error caused by previous silent graphemes(letters).

grapheme-phonemealignment's People

Contributors

binbinsh avatar ys10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

langlanglofa

grapheme-phonemealignment's Issues

No examples of training/testing asset files provided

In your g2p_aligner.py you load in a pair of training/testing data files. However these are not provided in the repository, nor do you specific what the form of these data files should be. Could you please provide some sample training/testing data files so I can tell if the script is working as expected? Thanks

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.