Giter VIP home page Giter VIP logo

speech_analytics's Introduction

speech_analytics

Speech analytics package for call-center allows you to estimate your operator's work. It provides a user-friendly interface using Telegram bots.

Every file goes through the following operations:

  • Noise suppression
  • Diarization
  • Voice activity detection
  • Pauses and interruptions detection
  • Necessary phrases detection
  • Bad words and threats detection System Architecture

Installing

First, you need to clone the repository:

git clone https://github.com/DinoTheDinosaur/speech_analytics
cd speech_analytics

Create virtual environment and install necessary packages. Please note, that only Python 3.8 is supported:

python -m venv venv
python -m pip install -r requirements.txt

Create config.yaml file:

# for SR (yandex or vosk)
recognition_engine: "vosk"

# necessary files (models, corpuses, etc.)
suppressor_model_weights: "./data/model_weights.ckpt"
vosk_model: "./data/vosk"
white_list: "./data/white_list.json"
obscene_corpus: "./data/obscene_corpus.json"
threats_corpus: "./data/threats_corpus.json"
white_checklist: "./data/check_list_white.json"
black_checklist: "./data/check_list_black.json"

# for Telegram bot
bot_token: "YOUR_TELEGRAM_BOT_ACCESS_TOKEN_HERE"

# for Yandex Speech kit
bucket: "YOUR_BUCKET_HERE"
aws_key: "YOUR_AWS_KEY_HERE"
aws_key_id: "YOUR_AWS_KEY_ID_HERE"
ya_api_key: "YOUR_YANDEX_SPEECH_KIT_API_KEY"

Run bot:

python run_bot.py

Example answer

Example answer

Models

In case you didn't find necessary data in the repository, you can download it directly:

CompTech 2021

speech_analytics's People

Contributors

beniadev avatar bognev avatar dinothedinosaur avatar hardlin3r avatar ji411 avatar nikolmash avatar predelinaasya avatar sheregeda avatar sn4kebyte avatar timurtaepov 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.