Metadata-Version: 2.1
Name: simpleder
Version: 0.0.1
Summary: A lightweight library to compute Diarization Error Rate (DER).
Home-page: https://github.com/wq2012/SimpleDER
Author: Quan Wang
Author-email: quanw@google.com
License: UNKNOWN
Description: # SimpleDER [![Build Status](https://travis-ci.org/wq2012/SimpleDER.svg?branch=master)](https://travis-ci.org/wq2012/SimpleDER)
        
        ## Overview
        
        This is a lightweight library to compute Diarization Error Rate (DER).
        
        Features **NOT** supported:
        
        * Handling overlapped speech, *i.e.* two speakers speaking at the same time.
        * Allowing segment boundary tolerance, *a.k.a.* the `collar` value.
        
        For more sophisticated with these supports, please use
        [pyannote-metrics](https://github.com/pyannote/pyannote-metrics) instead.
        
        To learn more about speaker diarization, here is a curated list of resources:
        [awesome-diarization](https://github.com/wq2012/awesome-diarization).
        
        ## Tutorial
        
        Here is a minimal example:
        
        ```python
        import der
        
        # reference (ground truth)
        ref = [("A", 0.0, 1.0),
               ("B", 1.0, 1.5),
               ("A", 1.6, 2.1)]
        
        # hypothesis (diarization result from your algorithm)
        hyp = [("1", 0.0, 0.8),
               ("2", 0.8, 1.4),
               ("3", 1.5, 1.8),
               ("1", 1.8, 2.0)]
        
        error = der.DER(ref, hyp)
        
        print("DER={:.3f}".format(error))
        ```
        
        This should output:
        
        ```
        DER=0.350
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
