kvest commited on
Commit
f0ec5ab
·
verified ·
1 Parent(s): 283da88

Document TSV and thesis context

Browse files
Files changed (1) hide show
  1. README.md +54 -16
README.md CHANGED
@@ -26,14 +26,51 @@ The dataset is useful for quick experiments with Swedish ASR systems, especially
26
  when you want to inspect recognition quality on spontaneous speech from
27
  different regions, speakers, ages, and genders.
28
 
 
 
 
 
 
 
 
 
 
 
29
  ## Repository Contents
30
 
31
  | File | Description |
32
  | --- | --- |
 
33
  | `Dataset-Swedia-2000.docx` | ASR/dictation output grouped by location and speaker category. |
34
  | `Original-Texts-Swedia-2000.docx` | Manually corrected reference transcriptions for the same speech excerpts. |
35
  | `Calculation-of-Results-Swedia-2000.xlsx` | Spreadsheet with WER/CER calculations and comparison notes. |
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  ## Speaker and Location Structure
38
 
39
  The documents are organized by location and speaker group. Examples of locations
@@ -60,10 +97,13 @@ Speaker groups include:
60
 
61
  ## Metrics
62
 
63
- The spreadsheet includes evaluation fields for:
64
 
65
  - `WER`: word error rate
66
  - `CER`: character error rate
 
 
 
67
  - comparisons across locations/regions
68
  - comparisons across speaker age and gender groups
69
  - Word Dictation vs. Whisper-style ASR comparisons
@@ -74,32 +114,30 @@ The spreadsheet includes evaluation fields for:
74
  - Compare recognition quality across dialect regions.
75
  - Inspect typical ASR errors in spontaneous Swedish speech.
76
  - Practice WER/CER calculation and ASR error analysis.
 
77
 
78
  ## Loading the Files
79
 
80
- The files are currently distributed as Office documents rather than a single
81
- normalized CSV/JSON dataset. For analysis, download the DOCX/XLSX files and
82
- extract the relevant text and metrics with tools such as `python-docx`,
83
- `openpyxl`, LibreOffice, or spreadsheet software.
84
 
85
  Example:
86
 
87
  ```python
88
- from huggingface_hub import hf_hub_download
89
 
90
- path = hf_hub_download(
91
- repo_id="kvest/Swedia-ASR-Dataset",
92
- repo_type="dataset",
93
- filename="Calculation-of-Results-Swedia-2000.xlsx",
94
  )
95
- print(path)
96
  ```
97
 
 
 
 
98
  ## Limitations
99
 
100
  - The dataset is small and best suited for exploratory ASR evaluation.
101
- - The files are document-based, not yet normalized into row-level machine
102
- learning tables.
103
  - The repository contains transcriptions and evaluation material, not raw audio.
104
  - Results should be interpreted as a compact benchmark/sample rather than a
105
  comprehensive Swedish ASR evaluation suite.
@@ -107,6 +145,6 @@ print(path)
107
  ## Citation and Source Notes
108
 
109
  This dataset is based on transcribed material from Swedia 2000 and was prepared
110
- for ASR comparison and error analysis. If you use it, cite this dataset page and
111
- also acknowledge Swedia 2000 as the underlying transcription source where
112
- appropriate.
 
26
  when you want to inspect recognition quality on spontaneous speech from
27
  different regions, speakers, ages, and genders.
28
 
29
+ ## Thesis Context
30
+
31
+ This dataset was prepared as part of Kajsa Vesterberg's bachelor thesis,
32
+ [*Lost in Translation: AI's Struggles with Scanian - A Study on Language Models'
33
+ Attempts to Conquer Swedish and its Dialects*](https://lup.lub.lu.se/student-papers/search/publication/9191345),
34
+ published through Lund University's LUP Student Papers repository in 2025.
35
+
36
+ The thesis investigates whether automatic speech recognition performs unevenly
37
+ across Swedish regional speech, with particular attention to Scanian dialects.
38
+
39
  ## Repository Contents
40
 
41
  | File | Description |
42
  | --- | --- |
43
+ | `swedia_asr_dataset.tsv` | Normalized row-level TSV with reference transcripts, ASR outputs, and computed WER/CER. |
44
  | `Dataset-Swedia-2000.docx` | ASR/dictation output grouped by location and speaker category. |
45
  | `Original-Texts-Swedia-2000.docx` | Manually corrected reference transcriptions for the same speech excerpts. |
46
  | `Calculation-of-Results-Swedia-2000.xlsx` | Spreadsheet with WER/CER calculations and comparison notes. |
47
 
48
+ ## TSV Format
49
+
50
+ `swedia_asr_dataset.tsv` is the easiest file to use programmatically. It has 56
51
+ rows, one row per location and speaker-group excerpt.
52
+
53
+ Columns:
54
+
55
+ - `location`
56
+ - `speaker_group`
57
+ - `reference_transcript`
58
+ - `word_diktering_transcript`
59
+ - `word_diktering_wer`
60
+ - `word_diktering_cer`
61
+ - `whisper_transcript`
62
+ - `whisper_wer`
63
+ - `whisper_cer`
64
+
65
+ Some `word_diktering_*` fields are empty because the Word Dictation section does
66
+ not contain every location/speaker combination that appears in the reference and
67
+ Whisper sections.
68
+
69
+ The original DOCX and XLSX files are intentionally kept in the repository. They
70
+ represent the source working documents from the thesis project, while
71
+ `swedia_asr_dataset.tsv` is a cleaned, analysis-friendly version derived from
72
+ them.
73
+
74
  ## Speaker and Location Structure
75
 
76
  The documents are organized by location and speaker group. Examples of locations
 
97
 
98
  ## Metrics
99
 
100
+ The normalized TSV includes computed evaluation fields for:
101
 
102
  - `WER`: word error rate
103
  - `CER`: character error rate
104
+
105
+ The original spreadsheet also includes comparison fields for:
106
+
107
  - comparisons across locations/regions
108
  - comparisons across speaker age and gender groups
109
  - Word Dictation vs. Whisper-style ASR comparisons
 
114
  - Compare recognition quality across dialect regions.
115
  - Inspect typical ASR errors in spontaneous Swedish speech.
116
  - Practice WER/CER calculation and ASR error analysis.
117
+ - Load a single TSV instead of manually extracting the DOCX files.
118
 
119
  ## Loading the Files
120
 
121
+ For most analysis, start with the normalized TSV:
 
 
 
122
 
123
  Example:
124
 
125
  ```python
126
+ import pandas as pd
127
 
128
+ data = pd.read_csv(
129
+ "hf://datasets/kvest/Swedia-ASR-Dataset/swedia_asr_dataset.tsv",
130
+ sep="\t",
 
131
  )
132
+ print(data[["location", "speaker_group", "whisper_wer", "whisper_cer"]].head())
133
  ```
134
 
135
+ The original DOCX/XLSX files are still included for transparency and manual
136
+ inspection.
137
+
138
  ## Limitations
139
 
140
  - The dataset is small and best suited for exploratory ASR evaluation.
 
 
141
  - The repository contains transcriptions and evaluation material, not raw audio.
142
  - Results should be interpreted as a compact benchmark/sample rather than a
143
  comprehensive Swedish ASR evaluation suite.
 
145
  ## Citation and Source Notes
146
 
147
  This dataset is based on transcribed material from Swedia 2000 and was prepared
148
+ for ASR comparison and error analysis in the bachelor thesis linked above. If
149
+ you use it, cite this dataset page, the thesis, and Swedia 2000 as the
150
+ underlying transcription source where appropriate.