Skip to content

Commit

Permalink
fix link bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DTDwind committed Jun 14, 2023
1 parent 9bb6e21 commit 308dfa3
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 5 deletions.
8 changes: 4 additions & 4 deletions AMI_run.sh
Original file line number Diff line number Diff line change
@@ -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."
Expand All @@ -12,16 +13,15 @@ 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`
# echo $audio_path
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
Expand Down
10 changes: 10 additions & 0 deletions RTTManz.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions RTTManz.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions RTTManz.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions RTTManz.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
numpy>=1.22.4
argparse
soundfile>=0.10.2
pathlib
tabulate>=0.9.0
1 change: 1 addition & 0 deletions RTTManz.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 308dfa3

Please sign in to comment.