Giter Club home page Giter Club logo

dral's Introduction

Code for Dialogs Re-enacted Across Languages (DRAL) corpus

This repository contains the code used in creating the Dialogs Re-enacted Across Languages (DRAL) corpus, computing prosodic features of utterances, and modeling the mappings of English and Spanish prosody.

Download the DRAL corpus

Download the DRAL corpus releases from the releases page.

Note: Releases are incremental. To get the latest release, download each release in sequence, merging the files of each release into the previous.

Collect similar data following the DRAL protocol

The DRAL protocol is described in our technical report. For post-processing, see the DRAL-corpus subdirectory.

Compute prosodic features of DRAL utterances, model prosody the mappings of English and Spanish prosody

The code is separated into the following subdirectories. Each subdirectory contains a README.

  • DRAL-corpus - Code for DRAL post-processing and preparing the data for feature computation. See the included workflow diagram.
  • feature-computation - Code for computing DRAL conversation fragments prosodic features and prosody representations, and for plotting and validating features.
  • modeling - Code for DRAL English and Spanish prosody mapping models, baselines, metrics, and feature correlations.

Setup

MATLAB

  1. Install MATLAB R2023a.
  2. Install the MATLAB add-ons Signal Processing Toolbox and Statistics and Machine Learning Toolbox. To install add-ons from MATLAB, select Home > Add-Ons > Get Add-Ons.
  3. Clone the Mid-level Prosodic Features Toolkit (February 9, 2023) repository.
  4. Before running any of the project MATLAB functions, add the Mid-level Prosodic Features Toolkit to MATLAB's search path. To add a directory from MATLAB, use the built-in addpath function. Alternatively, right-click the directory in the Current Folder view, then select Add to Path > Selected Folders and Subfolders.

Python

  1. Create a Python 3.10.4 virtual environment, e.g., with conda.
  2. Activate the virtual environment, navigate to the project root directory, then install the required Python modules with pip: pip install -r requirements.txt.
  3. Clone the REAPER repository and compile it following its instructions, then add it to your PATH environment variable.
  4. Install SoX. Depending on your operating system and install method, you may need to add it your PATH environment variable.

Citing

Interspeech 2023 paper

Cite as: Avila, J.E., Ward, N.G. (2023) Towards Cross-Language Prosody Transfer for Dialog. Proc. INTERSPEECH 2023, 2143-2147, doi: 10.21437/Interspeech.2023-1152

@inproceedings{avila23_interspeech,
  author={Jonathan E. Avila and Nigel G. Ward},
  title={{Towards Cross-Language Prosody Transfer for Dialog}},
  year=2023,
  booktitle={Proc. INTERSPEECH 2023},
  pages={2143--2147},
  doi={10.21437/Interspeech.2023-1152}
}

Online: ISCA Archive

DRAL technical report

@techreport{ward2023a,
  title = {Dialogs {{Re-enacted Across Languages}}, {{Version}} 2},
  author = {Ward, Nigel G. and Avila, Jonathan E. and Rivas, Emilia and Marco, Divette},
  year = {2023},
  number = {UTEP-CS-23-27},
  institution = {{University of Texas at El Paso}}
}

Online: UTEP, Nigel Ward

Contributing

Included is a Flake8 Python linter settings file (.flake8). If VS Code is your preferred editor, included is a VS Code workspace settings file (.vscode) with debug configurations. I suggest installing the markdownlint extension for linting Markdown, and formatting Python code on save with Black.

dral's People

Contributors

joneavila avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.