add data vi-VN.zip
Browse files- .gitignore +1 -0
- data/analysis/vi-VN.zip +3 -0
- data/calling/84.zip +3 -0
- examples/count.py +2 -1
- examples/make_test_audios.py +14 -32
.gitignore
CHANGED
|
@@ -34,3 +34,4 @@ data/calling/886
|
|
| 34 |
/data/**/*.wav
|
| 35 |
|
| 36 |
**/*.wav
|
|
|
|
|
|
| 34 |
/data/**/*.wav
|
| 35 |
|
| 36 |
**/*.wav
|
| 37 |
+
**/*.xlsx
|
data/analysis/vi-VN.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59bb061eec76f6a484324ddeefd9adb210c6c0b56b939d74796c0d0bd76cb05e
|
| 3 |
+
size 6903581
|
data/calling/84.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e02006ba3369346089c42cca2aa97e3afa54c8df18b23c059ee996ec9a77487d
|
| 3 |
+
size 6859257
|
examples/count.py
CHANGED
|
@@ -27,7 +27,8 @@ def get_args():
|
|
| 27 |
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\en-SG",
|
| 28 |
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\id-ID",
|
| 29 |
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\en-PH",
|
| 30 |
-
default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\zh-TW",
|
|
|
|
| 31 |
type=str
|
| 32 |
)
|
| 33 |
args = parser.parse_args()
|
|
|
|
| 27 |
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\en-SG",
|
| 28 |
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\id-ID",
|
| 29 |
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\en-PH",
|
| 30 |
+
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\zh-TW",
|
| 31 |
+
default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\analysis\vi-VN",
|
| 32 |
type=str
|
| 33 |
)
|
| 34 |
args = parser.parse_args()
|
examples/make_test_audios.py
CHANGED
|
@@ -14,28 +14,12 @@ def get_args():
|
|
| 14 |
parser = argparse.ArgumentParser()
|
| 15 |
parser.add_argument(
|
| 16 |
"--audio_dir",
|
| 17 |
-
|
| 18 |
-
# default=(project_path / "data/ko-KR").as_posix(),
|
| 19 |
-
# default=(project_path / "data/pt-BR").as_posix(),
|
| 20 |
-
# default=(project_path / "data/ms-MY").as_posix(),
|
| 21 |
-
# default=(project_path / "data/th-TH").as_posix(),
|
| 22 |
-
# default=(project_path / "data/en-SG").as_posix(),
|
| 23 |
-
# default=(project_path / "data/id-ID").as_posix(),
|
| 24 |
-
# default=(project_path / "data/en-PH").as_posix(),
|
| 25 |
-
default=(project_path / "data/zh-TW").as_posix(),
|
| 26 |
type=str
|
| 27 |
)
|
| 28 |
parser.add_argument(
|
| 29 |
"--output_dir",
|
| 30 |
-
|
| 31 |
-
# default=(project_path / "data/82").as_posix(),
|
| 32 |
-
# default=(project_path / "data/55").as_posix(),
|
| 33 |
-
# default=(project_path / "data/60").as_posix(),
|
| 34 |
-
# default=(project_path / "data/66").as_posix(),
|
| 35 |
-
# default=(project_path / "data/65").as_posix(),
|
| 36 |
-
# default=(project_path / "data/62").as_posix(),
|
| 37 |
-
# default=(project_path / "data/63").as_posix(),
|
| 38 |
-
default=(project_path / "data/886").as_posix(),
|
| 39 |
type=str
|
| 40 |
)
|
| 41 |
args = parser.parse_args()
|
|
@@ -43,21 +27,19 @@ def get_args():
|
|
| 43 |
|
| 44 |
|
| 45 |
quantity_to_use = """
|
| 46 |
-
bell_and_mute:
|
| 47 |
-
|
| 48 |
-
bell_and_noise_mute:
|
| 49 |
-
bell_and_not_connected:
|
| 50 |
-
bell_and_voice:
|
| 51 |
-
|
| 52 |
-
busy_and_not_connected: 3, 3%
|
| 53 |
-
early_media_voicemail_and_voicemail: 12, 12%
|
| 54 |
invalid_number_and_not_connected: 1, 1%
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
no_answer_and_not_connected:
|
| 60 |
-
|
| 61 |
"""
|
| 62 |
|
| 63 |
|
|
|
|
| 14 |
parser = argparse.ArgumentParser()
|
| 15 |
parser.add_argument(
|
| 16 |
"--audio_dir",
|
| 17 |
+
default=(project_path / "data/analysis/vi-VN").as_posix(),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
type=str
|
| 19 |
)
|
| 20 |
parser.add_argument(
|
| 21 |
"--output_dir",
|
| 22 |
+
default=(project_path / "data/calling/84").as_posix(),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
type=str
|
| 24 |
)
|
| 25 |
args = parser.parse_args()
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
quantity_to_use = """
|
| 30 |
+
bell_and_mute: 1, 1%
|
| 31 |
+
bell_and_noise: 1, 1%
|
| 32 |
+
bell_and_noise_mute: 2, 2%
|
| 33 |
+
bell_and_not_connected: 42, 42%
|
| 34 |
+
bell_and_voice: 13, 13%
|
| 35 |
+
early_media_voicemail_and_mute: 23, 23%
|
|
|
|
|
|
|
| 36 |
invalid_number_and_not_connected: 1, 1%
|
| 37 |
+
music_and_not_connected: 5, 5%
|
| 38 |
+
music_and_voice: 1, 1%
|
| 39 |
+
mute_and_not_connected: 4, 4%
|
| 40 |
+
not_available_and_not_connected: 5, 5%
|
| 41 |
+
no_answer_and_not_connected: 1, 1%
|
| 42 |
+
redirected_and_voice: 1, 1%
|
| 43 |
"""
|
| 44 |
|
| 45 |
|