diff --git a/AMI_run.sh b/AMI_run.sh index ab52ba7..ab9ed68 100755 --- a/AMI_run.sh +++ b/AMI_run.sh @@ -1,8 +1,9 @@ #!/usr/bin/env bash -stage=2 +stage=1 AMIcorpus=example/ami/amicorpus # If you already have amicorpus, please set the path to that location and skip stage 0. oracle_rttm_path=example/ami/rttm +testset_path=example/ami/ami_testset if [ $stage -le 0 ]; then echo "Stage 0: Download ami test corpus." @@ -12,8 +13,7 @@ fi if [ $stage -le 1 ]; then echo "Stage 1: Preparing data." - mkdir -p example/ami/ami_testset - testset_path=example/ami/ami_testset + mkdir -p $testset_path for audio_path in $(find $AMIcorpus/*/audio -name *.wav) do audio_name=`basename $audio_path` @@ -21,7 +21,7 @@ if [ $stage -le 1 ]; then for test_name in $(cat example/ami/ami_testset_list.txt) do if [ $audio_name == $test_name ]; then - ln -s $audio_path $testset_path + ln -s `pwd`/$audio_path $testset_path fi done done diff --git a/RTTManz.egg-info/PKG-INFO b/RTTManz.egg-info/PKG-INFO new file mode 100644 index 0000000..6d119e1 --- /dev/null +++ b/RTTManz.egg-info/PKG-INFO @@ -0,0 +1,10 @@ +Metadata-Version: 2.1 +Name: RTTManz +Version: 0.2.2 +Summary: A simple Python package for analyzing the necessary data in Speaker Diarization using oracle RTTM files and audio files. +Home-page: https://github.com/DTDwind/RTTManz +Author: Yu-Sen Cheng (DTDwind) +License: Apache-2.0 License +Keywords: analyze rttm +Description-Content-Type: text/markdown +License-File: LICENSE diff --git a/RTTManz.egg-info/SOURCES.txt b/RTTManz.egg-info/SOURCES.txt new file mode 100644 index 0000000..473f700 --- /dev/null +++ b/RTTManz.egg-info/SOURCES.txt @@ -0,0 +1,8 @@ +LICENSE +README.md +setup.py +RTTManz.egg-info/PKG-INFO +RTTManz.egg-info/SOURCES.txt +RTTManz.egg-info/dependency_links.txt +RTTManz.egg-info/requires.txt +RTTManz.egg-info/top_level.txt \ No newline at end of file diff --git a/RTTManz.egg-info/dependency_links.txt b/RTTManz.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/RTTManz.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/RTTManz.egg-info/requires.txt b/RTTManz.egg-info/requires.txt new file mode 100644 index 0000000..4afeade --- /dev/null +++ b/RTTManz.egg-info/requires.txt @@ -0,0 +1,5 @@ +numpy>=1.22.4 +argparse +soundfile>=0.10.2 +pathlib +tabulate>=0.9.0 diff --git a/RTTManz.egg-info/top_level.txt b/RTTManz.egg-info/top_level.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/RTTManz.egg-info/top_level.txt @@ -0,0 +1 @@ + diff --git a/setup.py b/setup.py index 30655a3..739afca 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="RTTManz", - version="0.2.2", + version="0.3.0", author="Yu-Sen Cheng (DTDwind)", description="A simple Python package for analyzing the necessary data in Speaker Diarization using oracle RTTM files and audio files.", keywords="analyze rttm",