add data hu-HU.zip
Browse files- data/analysis/hu-HU.zip +3 -0
- data/calling/36.zip +3 -0
- examples/count.py +1 -10
- examples/make_test_audios.py +15 -22
data/analysis/hu-HU.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a709daa109a49b13e00090575372093e9735200bfaa8c0f15bae20658d22e05
|
| 3 |
+
size 11866796
|
data/calling/36.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:723d2152e2d144a8280a520d41bc0144203b823e8454d30e05840b9b8e48a688
|
| 3 |
+
size 11811437
|
examples/count.py
CHANGED
|
@@ -19,16 +19,7 @@ def get_args():
|
|
| 19 |
parser = argparse.ArgumentParser()
|
| 20 |
parser.add_argument(
|
| 21 |
"--src_dir",
|
| 22 |
-
|
| 23 |
-
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\ko-KR",
|
| 24 |
-
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\ms-MY",
|
| 25 |
-
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\pt-BR",
|
| 26 |
-
# default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\th-TH",
|
| 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\pl-PL",
|
| 32 |
type=str
|
| 33 |
)
|
| 34 |
args = parser.parse_args()
|
|
|
|
| 19 |
parser = argparse.ArgumentParser()
|
| 20 |
parser.add_argument(
|
| 21 |
"--src_dir",
|
| 22 |
+
default=r"D:\Users\tianx\HuggingDatasets\calling_analysis\data\analysis\hu-HU",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
type=str
|
| 24 |
)
|
| 25 |
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,27 +27,20 @@ def get_args():
|
|
| 27 |
|
| 28 |
|
| 29 |
quantity_to_use = """
|
| 30 |
-
|
| 31 |
-
bell_and_not_connected:
|
| 32 |
-
bell_and_voice:
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
mute_and_noise: 2, 2%
|
| 40 |
-
mute_and_noise_mute: 4, 4%
|
| 41 |
-
mute_and_not_connected: 31, 31%
|
| 42 |
mute_and_voice: 4, 4%
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
no_early_media_and_noise_mute: 1, 1%
|
| 48 |
-
no_early_media_and_voice: 2, 2%
|
| 49 |
-
no_early_media_and_white_noise: 1, 1%
|
| 50 |
-
voice_and_voicemail: 1, 1%
|
| 51 |
"""
|
| 52 |
|
| 53 |
|
|
|
|
| 14 |
parser = argparse.ArgumentParser()
|
| 15 |
parser.add_argument(
|
| 16 |
"--audio_dir",
|
| 17 |
+
default=(project_path / "data/analysis/hu-HU").as_posix(),
|
| 18 |
type=str
|
| 19 |
)
|
| 20 |
parser.add_argument(
|
| 21 |
"--output_dir",
|
| 22 |
+
default=(project_path / "data/calling/36").as_posix(),
|
| 23 |
type=str
|
| 24 |
)
|
| 25 |
args = parser.parse_args()
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
quantity_to_use = """
|
| 30 |
+
bell_and_noise_mute: 2, 2%
|
| 31 |
+
bell_and_not_connected: 9, 9%
|
| 32 |
+
bell_and_voice: 17, 17%
|
| 33 |
+
bell_and_white_noise: 1, 1%
|
| 34 |
+
cannot_be_connected_and_not_connected: 1, 1%
|
| 35 |
+
invalid_number_and_not_connected: 1, 1%
|
| 36 |
+
mute_and_noise: 1, 1%
|
| 37 |
+
mute_and_noise_mute: 1, 1%
|
| 38 |
+
mute_and_not_connected: 10, 10%
|
|
|
|
|
|
|
|
|
|
| 39 |
mute_and_voice: 4, 4%
|
| 40 |
+
not_available_and_not_connected: 18, 18%
|
| 41 |
+
no_early_media_and_mute: 3, 3%
|
| 42 |
+
no_early_media_and_voice: 26, 26%
|
| 43 |
+
no_early_media_and_voicemail: 6, 6%
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
"""
|
| 45 |
|
| 46 |
|