Giter Site home page Giter Site logo

artursstaf / speech_translation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dfvalio/speech_translation

0.0 1.0 0.0 4.42 MB

Scripts used for Filtering data and Noise Generation as described in the article "Data Augmentation for Pipeline-BasedSpeech Translation" (Baltic HLT 2020).

Python 100.00%

speech_translation's Introduction

Speech Translation

Instalation

Clone the repository and create conda environment by running conda env create -f environment.yml.

Synthetic Data Filtering

Filter noise from synthetic speech translation dataset - (source, source_asr, source_pos, target). Source and Source_asr pairs that are not similar are dropped.

python speech_translation.py filter --workdir= --source= --source_asr= --target= --source_pos= --result_source= --result_source_asr --result_target --result_source_pos

Rule-Based Synthetic Noise Generation

Learn suffix noise model from filtered synthetic dataset.

python speech_translation.py learn_noise_model --workdir=workdir --source= --source_pos= --source_asr= --result_model=

Apply suffix noise model to any parallel dataset.

python speech_translation.py apply_noise_model --source= --source_pos= --target= --result_source= --result_target= --noise_model=

Model ASR word split/merges.

python speech_translation.py generate_split_merge --source= --target= --result_target= --result_source=

speech_translation's People

Contributors

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