Code Monkey home page Code Monkey logo

ibdiar's Introduction

SAIL IB-Diarization Toolkit

The toolkit performs speaker diarization (finding 'who spoke when?') using the information bottleneck criterion. Specifically, it tries to group speech segments (X) into clusters (C) by minimizing the mutual information between them, while maximizing the mutual information between the segments and a set of relevance variables (Y). In the case of speaker diarization, the relevance variables are typically components of a GMM trained using all the voiced frames.

Prerequisites

Python libraries: numpy, scipy, scikit-learn, librosa, kaldi_io (optional)
An installed Kaldi toolkit is highly recommended, but not mandatory

Getting Started

For a quick demo, execute runAMIExample.py or runSyntheticExample.py without any arguments.
The excerpts from AMI Meeting corpus come alongwith manual annotations for speaker turns, labels and vad. Each audio file contains two speakers. The synthetic example provides visualization using a dendrogram.

For a more comprehensive usage, refer to infoBottleneck.py

usage: infoBottleneck.py [-h] [--beta BETA] [--segLen SEGLEN] 
                         [--frameRate FRAMERATE] [--numCluster NUMCLUSTER]
                         [--library LIBRARY] [--vadFile VADFILE]
                         [--gmmFile GMMFILE] [--localGMM LOCALGMM]
                         [--kaldiRoot KALDIROOT] [--numMix NUMMIX]
                         [--minBlockLen MINBLOCKLEN]
                         [--numRealignments NUMREALIGNMENTS]
                         wavFile rttmFile

Execute with the help option for more information about each parameter, including default values.

Benchmarks

All values in Diarization Error Rate (%)

Method AMI (ihm) ICSI
Bayesian Information Criterion 32.64 41.54
Idiap IB Toolkit 27.55 38.35
SAIL IB Toolkit 28.40 39.50

Reference

D. Vijayasenan, F. Valente and H. Bourlard, "An Information Theoretic Approach to Speaker Diarization of Meeting Data," in IEEE Transactions on Audio, Speech, and Language Processing, vol. 17, no. 7, pp. 1382-1393, Sept. 2009.

Authors

Manoj Kumar ([email protected])

License

This project is licensed under the MIT License - see the LICENSE.md file for details

ibdiar's People

Contributors

manojpamk avatar

Stargazers

 avatar  avatar  avatar

Watchers

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