PedroDKE commited on
Commit
ea3f27d
·
1 Parent(s): 8526e0c

update readme

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -60,7 +60,7 @@ dataset_info:
60
  - [Scraping a book from Librivox](#scraping-a-book-from-librivox)
61
  - [Allign a book from Librivox with the text from LibrivoxDeEn](#allign-a-book-from-librivox-with-the-text-from-librivoxdeen)
62
  - [Metrics on the alignment given in this repo.](#metrics-on-the-alignment-given-in-this-repo)
63
- - [Citation](#citation)
64
 
65
 
66
 
@@ -71,7 +71,7 @@ This repo contains scripts and alignment data to create a dataset build further
71
 
72
  ## Usage example
73
  ### using huggingface
74
- ```
75
  from datasets import load_dataset
76
 
77
  ds = load_dataset(
@@ -85,7 +85,7 @@ print(sample["DE_transcript"]) # German transcript text
85
 
86
  ```
87
  ### using pytorch
88
- ```
89
  from datasets import load_dataset, Audio
90
  from torch.utils.data import DataLoader
91
 
@@ -168,7 +168,7 @@ note: the speakers were counted for each book seperatly so some speakers might b
168
  the number of hours for each book aligned in this repo:<br>
169
  <img src="https://user-images.githubusercontent.com/43861296/122250648-1f5f7f80-ceca-11eb-84fd-344a2261bf47.png" width="500">
170
 
171
- ### Citation
172
  when using this work, please cite the original paper and the LibrivoxDeEn authors
173
  ```
174
  @inproceedings{jeuris-niehues-2022-libris2s,
 
60
  - [Scraping a book from Librivox](#scraping-a-book-from-librivox)
61
  - [Allign a book from Librivox with the text from LibrivoxDeEn](#allign-a-book-from-librivox-with-the-text-from-librivoxdeen)
62
  - [Metrics on the alignment given in this repo.](#metrics-on-the-alignment-given-in-this-repo)
63
+ - [Citation](#citation)
64
 
65
 
66
 
 
71
 
72
  ## Usage example
73
  ### using huggingface
74
+ ```python
75
  from datasets import load_dataset
76
 
77
  ds = load_dataset(
 
85
 
86
  ```
87
  ### using pytorch
88
+ ```python
89
  from datasets import load_dataset, Audio
90
  from torch.utils.data import DataLoader
91
 
 
168
  the number of hours for each book aligned in this repo:<br>
169
  <img src="https://user-images.githubusercontent.com/43861296/122250648-1f5f7f80-ceca-11eb-84fd-344a2261bf47.png" width="500">
170
 
171
+ ## Citation
172
  when using this work, please cite the original paper and the LibrivoxDeEn authors
173
  ```
174
  @inproceedings{jeuris-niehues-2022-libris2s,