Fhrozen commited on
Commit
0843bdd
1 Parent(s): 3a01b92

add main files

Browse files
Files changed (4) hide show
  1. README.md +52 -1
  2. chsakura_asr.py +12 -0
  3. dataset_infos.json +65 -0
  4. retriever.sh +26 -0
README.md CHANGED
@@ -1,3 +1,54 @@
1
  ---
2
- license: cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: banksakura
3
+ annotations_creators:
4
+ - expert-generated
5
+ language_creators:
6
+ - crowdsourced
7
+ - expert-generated
8
+ language:
9
+ - ja
10
+ license:
11
+ - cc
12
+ multilinguality:
13
+ - monolingual
14
+ size_categories:
15
+ - 100K<n<1M
16
+ source_datasets:
17
+ - found
18
+ task_categories:
19
+ - automatic-speech-recognition
20
+ - audio-classification
21
+ task_ids:
22
+ - automatic-speech-recognition
23
+ - speech-recognition
24
+ - speaker-identification
25
  ---
26
+
27
+ # CABank Japanese CallHome Corpus
28
+
29
+ - Participants: 120
30
+ - Type of Study: phone call
31
+ - Location: United States
32
+ - Media type: audio
33
+ - DOI: doi:10.21415/T5H59V
34
+
35
+ - Web: https://ca.talkbank.org/access/CallHome/jpn.html
36
+
37
+ ## Citation information
38
+
39
+ Some citation here.
40
+ In accordance with TalkBank rules, any use of data from this corpus must be accompanied by at least one of the above references.
41
+
42
+ ## Project Description
43
+
44
+ This is the Japanese portion of CallHome.
45
+
46
+ Speakers were solicited by the LDC to participate in this telephone speech collection effort via the internet, publications (advertisements), and personal contacts. A total of 200 call originators were found, each of whom placed a telephone call via a toll-free robot operator maintained by the LDC. Access to the robot operator was possible via a unique Personal Identification Number (PIN) issued by the recruiting staff at the LDC when the caller enrolled in the project. The participants were made aware that their telephone call would be recorded, as were the call recipients. The call was allowed only if both parties agreed to being recorded. Each caller was allowed to talk up to 30 minutes. Upon successful completion of the call, the caller was paid $20 (in addition to making a free long-distance telephone call). Each caller was allowed to place only one telephone call.
47
+
48
+ Although the goal of the call collection effort was to have unique speakers in all calls, a handful of repeat speakers are included in the corpus. In all, 200 calls were transcribed. Of these, 80 have been designated as training calls, 20 as development test calls, and 100 as evaluation test calls. For each of the training and development test calls, a contiguous 10-minute region was selected for transcription; for the evaluation test calls, a 5-minute region was transcribed. For the present publication, only 20 of the evaluation test calls are being released; the remaining 80 test calls are being held in reserve for future LVCSR benchmark tests.
49
+
50
+ After a successful call was completed, a human audit of each telephone call was conducted to verify that the proper language was spoken, to check the quality of the recording, and to select and describe the region to be transcribed. The description of the transcribed region provides information about channel quality, number of speakers, their gender, and other attributes.
51
+
52
+ ## Acknowledgements
53
+
54
+ Andrew Yankes reformatted this corpus into accord with current versions of CHAT.
chsakura_asr.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2022 CC - Fhrozen (Hitachi LTD.).
3
+ #
4
+
5
+ # Lint as: python3
6
+ """Librispeech automatic speech recognition dataset."""
7
+
8
+
9
+ import os
10
+
11
+ import datasets
12
+ from datasets.tasks import AutomaticSpeechRecognition
dataset_infos.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "test": {
3
+ "description": "Speakers were solicited by the LDC to participate in this telephone speech collection effort via the internet, publications (advertisements), and personal contacts\n",
4
+ "citation": null,
5
+ "homepage": "https://ca.talkbank.org/access/CallHome/jpn.html",
6
+ "license": "",
7
+ "features": {
8
+ "file": {
9
+ "dtype": "string",
10
+ "id": null,
11
+ "_type": "Value"
12
+ },
13
+ "audio": {
14
+ "sampling_rate": 16000,
15
+ "mono": true,
16
+ "decode": true,
17
+ "id": null,
18
+ "_type": "Audio"
19
+ },
20
+ "text": {
21
+ "dtype": "string",
22
+ "id": null,
23
+ "_type": "Value"
24
+ },
25
+ "speaker_id": {
26
+ "dtype": "int64",
27
+ "id": null,
28
+ "_type": "Value"
29
+ },
30
+ "chapter_id": {
31
+ "dtype": "int64",
32
+ "id": null,
33
+ "_type": "Value"
34
+ },
35
+ "id": {
36
+ "dtype": "string",
37
+ "id": null,
38
+ "_type": "Value"
39
+ }
40
+ },
41
+ "post_processed": null,
42
+ "supervised_keys": {
43
+ "input": "file",
44
+ "output": "text"
45
+ },
46
+ "task_templates": [{
47
+ "task": "automatic-speech-recognition",
48
+ "audio_column": "audio",
49
+ "transcription_column": "text"
50
+ }],
51
+ "builder_name": "chsakura_asr",
52
+ "config_name": "clean",
53
+ "version": {
54
+ "version_str": "0.1.0",
55
+ "description": "",
56
+ "major": 0,
57
+ "minor": 1,
58
+ "patch": 0
59
+ },
60
+ "download_size": null,
61
+ "post_processing_size": null,
62
+ "dataset_size": null,
63
+ "size_in_bytes": null
64
+ }
65
+ }
retriever.sh ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+
3
+ set -e
4
+ set -u
5
+ set -o pipefail
6
+
7
+ lang="jpn"
8
+ main_link="https://media.talkbank.org/ca/CallHome/${lang}/0wav/"
9
+ rm -f *.txt
10
+ wget --no-check-certificate ${main_link} -O orig_lnk.txt
11
+
12
+ ext=wav
13
+
14
+ mkdir -p dummy/${ext}
15
+
16
+ grep -e '.'"${ext}"'"' orig_lnk.txt | sed -e 's|.*href="||g' \
17
+ | sed -e 's|">.*||g' \
18
+ | awk -v LNK=${main_link} '{print LNK "/" $1}' > ${ext}_links.txt
19
+
20
+ wget --no-check-certificate -i ${ext}_links.txt -c -nc -t 3 -P dummy/${ext}
21
+ wget --no-check-certificate https://ca.talkbank.org/data/CallHome/${lang}.zip -c -nc -t 3
22
+
23
+ unzip -q ${lang}.zip
24
+ mv ${lang} dummy/cha
25
+
26
+ rm -f *.txt