add data en-US.zip
Browse files- data/analysis/en-US.zip +3 -0
- data/calling/1.zip +3 -0
- examples/count.py +1 -1
- examples/make_test_audios.py +15 -14
data/analysis/en-US.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afb746113a85d29b9c19bddf70bd30abe81de6a10aa00ac22e5cbe9a2781829d
|
| 3 |
+
size 7172534
|
data/calling/1.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e22a552f156ef5822d3d1fa4c5b67e44ea6b2edb5ce2adad7f1a764ca01a59ce
|
| 3 |
+
size 7116042
|
examples/count.py
CHANGED
|
@@ -28,7 +28,7 @@ def get_args():
|
|
| 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\
|
| 32 |
type=str
|
| 33 |
)
|
| 34 |
args = parser.parse_args()
|
|
|
|
| 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\en-US",
|
| 32 |
type=str
|
| 33 |
)
|
| 34 |
args = parser.parse_args()
|
examples/make_test_audios.py
CHANGED
|
@@ -14,12 +14,12 @@ def get_args():
|
|
| 14 |
parser = argparse.ArgumentParser()
|
| 15 |
parser.add_argument(
|
| 16 |
"--audio_dir",
|
| 17 |
-
default=(project_path / "data/analysis/
|
| 18 |
type=str
|
| 19 |
)
|
| 20 |
parser.add_argument(
|
| 21 |
"--output_dir",
|
| 22 |
-
default=(project_path / "data/calling/
|
| 23 |
type=str
|
| 24 |
)
|
| 25 |
args = parser.parse_args()
|
|
@@ -27,19 +27,20 @@ def get_args():
|
|
| 27 |
|
| 28 |
|
| 29 |
quantity_to_use = """
|
| 30 |
-
|
| 31 |
-
bell_and_noise_mute:
|
| 32 |
-
bell_and_not_connected:
|
| 33 |
-
bell_and_voice:
|
| 34 |
-
bell_and_voicemail:
|
| 35 |
-
|
| 36 |
-
|
| 37 |
mute_and_not_connected: 1, 1%
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
no_early_media_and_voicemail:
|
| 42 |
-
|
|
|
|
| 43 |
"""
|
| 44 |
|
| 45 |
|
|
|
|
| 14 |
parser = argparse.ArgumentParser()
|
| 15 |
parser.add_argument(
|
| 16 |
"--audio_dir",
|
| 17 |
+
default=(project_path / "data/analysis/en-US").as_posix(),
|
| 18 |
type=str
|
| 19 |
)
|
| 20 |
parser.add_argument(
|
| 21 |
"--output_dir",
|
| 22 |
+
default=(project_path / "data/calling/1").as_posix(),
|
| 23 |
type=str
|
| 24 |
)
|
| 25 |
args = parser.parse_args()
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
quantity_to_use = """
|
| 30 |
+
bell_and_custom_voicemail: 5, 5%
|
| 31 |
+
bell_and_noise_mute: 2, 2%
|
| 32 |
+
bell_and_not_connected: 3, 3%
|
| 33 |
+
bell_and_voice: 7, 7%
|
| 34 |
+
bell_and_voicemail: 45, 45%
|
| 35 |
+
mute_and_custom_voicemail: 1, 1%
|
| 36 |
+
mute_and_noise_mute: 1, 1%
|
| 37 |
mute_and_not_connected: 1, 1%
|
| 38 |
+
mute_and_voicemail: 14, 14%
|
| 39 |
+
no_early_media_and_custom_voicemail: 3, 3%
|
| 40 |
+
no_early_media_and_voice: 2, 2%
|
| 41 |
+
no_early_media_and_voicemail: 14, 14%
|
| 42 |
+
out_of_service_and_not_connected: 1, 1%
|
| 43 |
+
restricted_or_unavailable_and_not_connected: 1, 1%
|
| 44 |
"""
|
| 45 |
|
| 46 |
|