Fhrozen commited on
Commit
30470dd
1 Parent(s): cf90473

main files

Browse files
Files changed (4) hide show
  1. README.md +62 -1
  2. bsakura_asr.py +12 -0
  3. dataset_infos.json +65 -0
  4. retriever.sh +26 -0
README.md CHANGED
@@ -1,3 +1,64 @@
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 Sakura Corpus
28
+
29
+ - Susanne Miyata
30
+ - Department of Medical Sciences
31
+ - Aichi Shukotoku University
32
33
+ - website: https://ca.talkbank.org/access/Sakura.html
34
+
35
+ ## Important
36
+
37
+ This data set is a copy from the original one located at https://ca.talkbank.org/access/Sakura.html.
38
+
39
+ ## Details
40
+
41
+ - Participants: 31
42
+ - Type of Study: xxx
43
+ - Location: Japan
44
+ - Media type: audio
45
+ - DOI: doi:10.21415/T5M90R
46
+
47
+ ## Citation information
48
+
49
+ Some citation here.
50
+ In accordance with TalkBank rules, any use of data from this corpus must be accompanied by at least one of the above references.
51
+
52
+ ## Project Description
53
+
54
+ This corpus of 18 conversations is the product of six graduation theses on gender differences in students' group talk. Each conversation lasted between 12 and 35 minutes (avg. 25 minutes) resulting in an overall time of 7 hours and 30 minutes. 31 Students (19 female, 12 male) participated in the study (Table 1). The participants gathered in groups of 4 students, either of the same or the opposite sex (6 conversations with a group of 4 female students, 6 with 4 male students, and 6 conversations with 2 male and 2 female students), according to age (first and third year students) and affiliation (two academic departments). In addition, the participants of each conversation came from the same small-sized class and were well acquainted.
55
+
56
+ The participants were informed that their conversations may be transcribed and a video recorded for use in possible publication when recruited. Additionally, permission was asked once more after the transcription in cases where either private information had been displayed, or a misunderstanding concerning the nature and degree of the publication of the conversations became apparent during the conversation.
57
+
58
+ The recordings took place in a small conference room at the university between or after lectures. The participants were given a card with a conversation topic to start with, but were free to vary (topic 1 "What do you expect from an opposite sex friend?" [isee ni motomeru koto]; topic 2 "Are you a dog lover or a cat lover?" [inuha ka nekoha ka]; topic 3 "About part-time work" [arubaito ni tsuite]). The investigator was not present during the recording. The combination of participants, the topic, and the duration of the 18 conversations are given in Table 2.
59
+
60
+ The participants produced 15,449 utterances overall (female: 8,027 utterances, male: 7,422 utterances). All utterances were linked to video and transcribed in regular Japanese orthography and Latin script (Wakachi2002), and provided with morphological tags (JMOR04.1). Proper names were replaced by pseudonyms.
61
+
62
+ ## Acknowledgements
63
+
64
+ Additional contributors: Banno, Kyoko; Konishi, Saya; Matsui, Ayumi; Matsumoto, Shiori; Oogi, Rie; Takahashi, Akane; Muraki, Kyoko.
bsakura_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": "This corpus of 18 conversations is the product of six graduation theses on gender differences in students' group talk.\n",
4
+ "citation": null,
5
+ "homepage": "https://ca.talkbank.org/access/Sakura.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": "bsakura_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
+ main_link="https://media.talkbank.org/ca/Sakura"
8
+ rm -f *.txt
9
+ wget --no-check-certificate ${main_link} -O orig_lnk.txt
10
+
11
+ ext=mp4
12
+
13
+ mkdir -p dummy/${ext}
14
+
15
+ grep -e '.'"${ext}"'"' orig_lnk.txt | sed -e 's|.*href="||g' \
16
+ | sed -e 's|">.*||g' \
17
+ | awk -v LNK=${main_link} '{print LNK "/" $1}' > ${ext}_links.txt
18
+
19
+ wget --no-check-certificate -i ${ext}_links.txt -c -nc -t 3 -P dummy/${ext}
20
+ wget --no-check-certificate https://ca.talkbank.org/data/Sakura.zip -c -nc -t 3
21
+
22
+ unzip -q Sakura.zip
23
+ mv Sakura dummy/cha
24
+
25
+ rm -f *.txt
26
+ rm -f *.zip