Giter Club home page Giter Club logo

goodness-of-pronunciation-pipelines-for-oov-problem's Introduction

Goodness of Pronunciation Pipelines for OOV Problem

DOI

A proposed pipeline for GoP computation solving OOV problem at Testing time using Vocab/Lexicon expansion techniques. We also provide utilities for extracting the Phoneme posteriors , Word boundaries(alignments), using GoP scores as vectors. The detailed explanation of the pipelines and methods are described in this report.

Main Files

  • run1File.sh : Computes Forced Alignments.
  • run1File_posterior.sh : Computation of Acoustic model Posterior Probabilities.
  • runAllFiles.sh : Calls necessary files for computation of posteriors and alignment ,GoP computation.
  • online_computation.sh: Responsible for the Online/Hybrid pipelne of GoP computation.
  • conf/: Configuration files for MFCC, i-vector extractors,etc.
  • get_failed_entries.sh : File generates a Lexicon from a text file or dir of text files, along with list of failed entries if any.
  • Goodness-of-pronounciation/prop_gop_eqn.py : Contains Python code which calculates GoP scores using posterior and alignment inputs. (Refer to comments in my fork for detailed understanding).

The entire data and exp and lab folders can be found here.

Utils:

  • get_ctm.sh : Get the phone level conversation time mapping files
  • get_word_ctm.sh: Get the word level conversation time mapping files.
  • get_time.sh : Get the times for ctm files.
  • collect_transcripts.sh : Collect and place transcripts from sub-dirs to one file.
  • find_oov.sh : A file to find the OOV occurences from 2 databases.
  • append_vocab.sh : Append OOV lexicon entries to original Lexicon
  • temp_q.sh : File for pre-processing text.
  • dict.sh: A modified utils/prepare_dict.sh for Lexicon generation

Entry-point for running the entire pipeline

./get_acoustic_metrics.sh wav_file_dir_path transcript_file_dir_path output_folder path 

Outputs:

  • gop/: Contains GoP scored outputs and phone level posteriors (ID_gop_phone_posteriors.txt).
  • lab/posteriors/: Contains ID_posterior_infile.ark from nnet-compute and ID_phone_posteriors.ark are posteriors in different format than gop posteriors.
  • lab/: Contains Forced Alignments outputs(phone level and word level .ctm files) ID_word_.ctm and ID_alignment_infile.txt

image

Citation

Please cite the both the sources (Arxiv + Zenodo) if any/all of the code is used in your respective research work.

@software{Ankit_Goodness-of-Pronunciation-Pipelines-for-OOV-Problem_2022,
author = {Ankit, Ankit},
doi = {10.5281/zenodo.7078826.},
month = {9},
title = {{Goodness-of-Pronunciation-Pipelines-for-OOV-Problem}},
version = {new},
year = {2022}
}
@misc{https://doi.org/10.48550/arxiv.2209.03787,
  doi = {10.48550/ARXIV.2209.03787}
  url = {https://arxiv.org/abs/2209.03787},
  author = {Grover, Ankit},
  keywords = {Computation and Language (cs.CL), Sound (cs.SD), Audio and Speech Processing (eess.AS), FOS: Computer and information sciences, FOS: Computer and information sciences, FOS: Electrical engineering, electronic engineering, information engineering, FOS: Electrical engineering, electronic engineering, information engineering},
  title = {Goodness of Pronunciation Pipelines for OOV Problem},
  publisher = {arXiv},
  year = {2022}, 
  copyright = {Creative Commons Attribution Non Commercial Share Alike 4.0 International}
}

goodness-of-pronunciation-pipelines-for-oov-problem's People

Contributors

agrover112 avatar

Stargazers

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