add data ja-JP.zip
Browse files- data/analysis/ja-JP.zip +3 -0
- data/calling/81.zip +3 -0
- examples/count.py +1 -1
- examples/make_test_audios.py +14 -14
data/analysis/ja-JP.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:334fe2c21c26be4508f29cbeb26d73eccd5c2c64cc0b5532ea7e8513c05527c0
|
| 3 |
+
size 12118395
|
data/calling/81.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42fb802095dcf26c97a879cee14a6c7341c2017b3f8957c710e3227fccd1c0f8
|
| 3 |
+
size 12079639
|
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\ja-JP",
|
| 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,19 @@ def get_args():
|
|
| 27 |
|
| 28 |
|
| 29 |
quantity_to_use = """
|
| 30 |
-
bell_and_mute: 1, 1%
|
| 31 |
bell_and_noise: 1, 1%
|
| 32 |
-
bell_and_noise_mute:
|
| 33 |
-
bell_and_not_connected:
|
| 34 |
-
bell_and_voice:
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
| 43 |
"""
|
| 44 |
|
| 45 |
|
|
|
|
| 14 |
parser = argparse.ArgumentParser()
|
| 15 |
parser.add_argument(
|
| 16 |
"--audio_dir",
|
| 17 |
+
default=(project_path / "data/analysis/ja-JP").as_posix(),
|
| 18 |
type=str
|
| 19 |
)
|
| 20 |
parser.add_argument(
|
| 21 |
"--output_dir",
|
| 22 |
+
default=(project_path / "data/calling/81").as_posix(),
|
| 23 |
type=str
|
| 24 |
)
|
| 25 |
args = parser.parse_args()
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
quantity_to_use = """
|
|
|
|
| 30 |
bell_and_noise: 1, 1%
|
| 31 |
+
bell_and_noise_mute: 4, 4%
|
| 32 |
+
bell_and_not_connected: 39, 39%
|
| 33 |
+
bell_and_voice: 6, 6%
|
| 34 |
+
bell_and_voicemail: 14, 14%
|
| 35 |
+
bell_and_white_noise: 3, 3%
|
| 36 |
+
early_media_voicemail_and_voicemail: 3, 3%
|
| 37 |
+
mute_and_not_connected: 1, 1%
|
| 38 |
+
no_answer_and_not_connected: 20, 20%
|
| 39 |
+
no_early_media_and_noise: 1, 1%
|
| 40 |
+
no_early_media_and_noise_mute: 1, 1%
|
| 41 |
+
no_early_media_and_voicemail: 3, 3%
|
| 42 |
+
powered_off_or_no_signal_and_not_connected: 4, 4%
|
| 43 |
"""
|
| 44 |
|
| 45 |
|