From 98788ca27e70194a477ccad3088fb171dfa5e2a4 Mon Sep 17 00:00:00 2001 From: qingen Date: Fri, 14 Jan 2022 20:03:19 +0800 Subject: [PATCH] [vector] add AMI data preparation scripts --- dataset/ami/ami_splits.py | 34 ++-------------------------------- utils/DER.py | 2 +- 2 files changed, 3 insertions(+), 33 deletions(-) diff --git a/dataset/ami/ami_splits.py b/dataset/ami/ami_splits.py index dd8410df..52a8ddc0 100644 --- a/dataset/ami/ami_splits.py +++ b/dataset/ami/ami_splits.py @@ -6,8 +6,6 @@ For more information on dataset please refer to http://groups.inf.ed.ac.uk/ami/c Authors * qingenz123@126.com (Qingen ZHAO) 2022 -Credits - """ ALLOWED_OPTIONS = ["scenario_only", "full_corpus", "full_corpus_asr"] @@ -202,7 +200,7 @@ def get_AMI_split(split_option): "IN1016", ] - dev_set0 = [ + dev_set = [ "ES2011", "IS1008", "TS3004", @@ -214,39 +212,11 @@ def get_AMI_split(split_option): "IB4011", ] - test_set0 = [ + test_set = [ "ES2004", "IS1009", "TS3003", "EN2002", ] - dev_set1 = [ - "ES2011a", - "IS1008a", - "TS3004a", - "IB4001", - "IB4002", - "IB4003", - "IB4004", - ] - test_set1 = [ - "ES2004a", - "IS1009a", - "TS3003a", - "EN2001a", - ] - - train_set = [ - "IB4001", - "IB4002", - "IB4003", - "IB4004", - ] - dev_set = [ - "IB4002", - ] - test_set = [ - "IB4004", - ] return train_set, dev_set, test_set diff --git a/utils/DER.py b/utils/DER.py index 25003b0a..11dfa8cf 100755 --- a/utils/DER.py +++ b/utils/DER.py @@ -4,7 +4,7 @@ False Alarm (FA), and Speaker Error Rate (SER) using md-eval-22.pl from NIST RT Authors * Neville Ryant 2018 * Nauman Dawalatabad 2020 - * Qingen Zhao 2021 + * qingenz123@126.com (Qingen ZHAO) 2022 Credits This code is adapted from https://github.com/nryant/dscore