Coder Social home page Coder Social logo

readys's Introduction

readys

A Speech Analytics Python Tool for Speech Quality Assessment

Recording-level feature extraction

The goal of these modules is to extract features that provide an intermediate representation to speech recordings towards the assessment of speech quality.

Text: text_analysis.py

In order to get text features from an audio file run the below command in your terminal

python3 text_analysis.py -i wav_file -g google_credentials -c classifiers_path -r reference_text -s segmentation_threshold -m segmentation_method

Where:

  • wav_file : the path of audio file where the recording is stored

  • google_credentials : a json file which contains the google credentials for speech to text functionality

  • classifiers_path: the directory which contains all text trained classifiers

  • reference_text(optional): path of .txt file of reference text

  • segmentation_threshold(optional): if you want to segment text by punctuation, don't use this argument (or use None as value), otherwise it is the number of words or seconds of every text segment

  • segmentation_method(optional): if the method of segmentation is punctuation (by sentences) then don't use this argument (or use None as value), otherwise use "fixed_size_text" for segmentation with fixedwords per segment or "fixed_window" for segmentation with fixed time window.

The feature_names , features and metadata will be printed.

Audio: audio_analysis.py

In order to get audio features from audio file (silence features + classification features) run the below command in your terminal

  • Case 1: Not using pyaudio recording level features:
python3 audio_analysis.py -i wav_file -c classifiers_path
  • Case 2: Adding pyaudio recording level features:
python3 audio_analysis.py -i wav_file -c classifiers_path -f

Where:

  • wav_file : the path of audio file

  • classifiers_path : the directory which contains all audio trained classifiers

The feature_names , features and metadata will be printed

Note: See models/readme for instructions how to train audio and text models

readys's People

Contributors

pakoromilas avatar sofiaele avatar tyiannak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

readys's Issues

Models

Text train and test functions --> fast text pretrained model + svm classifier

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.