Datasets:
fix(readme): added configurations description to readme
Browse files
README.md
CHANGED
@@ -36,7 +36,15 @@ task_categories:
|
|
36 |
|
37 |
### Dataset summary
|
38 |
|
39 |
-
This dataset contains league of legends champions' quotes parsed from [fandom](https://leagueoflegends.fandom.com). There are `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
## Dataset structure
|
42 |
|
@@ -61,5 +69,7 @@ Each dataset entry therefore consists of the following fields:
|
|
61 |
- `header` - main category of the text;
|
62 |
- `subheader` - secondary category of the text (none in some cases);
|
63 |
- `text` - text said by the champion or description of sound made by the champion;
|
64 |
-
- `source` - link to the audio file;
|
65 |
-
- `champion` - name of the champion in lowercase
|
|
|
|
|
|
36 |
|
37 |
### Dataset summary
|
38 |
|
39 |
+
This dataset contains league of legends champions' quotes parsed from [fandom](https://leagueoflegends.fandom.com). There are `67575` entries with quotes from 165 league of legends characters.
|
40 |
+
The dataset is available in the following configurations:
|
41 |
+
|
42 |
+
1. `vanilla` - all data pulled from the website without significant modifications apart from the web page structure parsing;
|
43 |
+
1. `quotes` - truncated version of the corpus, which does't contain sound effects;
|
44 |
+
1. `annotated` - an extended version of the full configuration with a couple of additional columns with labels;
|
45 |
+
1. `pulled` - same as vanilla, but sound files have been pulled from the website, and `source` column is replaced with `sound`.
|
46 |
+
|
47 |
+
For an example on the dataset usage refer to [this python notebook](https://cutt.ly/3wEKDUI9).
|
48 |
|
49 |
## Dataset structure
|
50 |
|
|
|
69 |
- `header` - main category of the text;
|
70 |
- `subheader` - secondary category of the text (none in some cases);
|
71 |
- `text` - text said by the champion or description of sound made by the champion;
|
72 |
+
- `source` - link to the audio file (only `vanilla` configuration);
|
73 |
+
- `champion` - name of the champion in lowercase;
|
74 |
+
- `quote` - binary field displaying whether corresponding text contains quote or not (only `annotated` configuration);
|
75 |
+
- `sound` - audio data for the entry (only `pulled` configuration).
|
pale.py
CHANGED
@@ -31,7 +31,7 @@ class Pale(GeneratorBasedBuilder):
|
|
31 |
BuilderConfig(name = 'quotes', version = VERSION, description = 'Truncated version of the corpus, which does\'t contain sound effects'),
|
32 |
BuilderConfig(name = 'annotated', version = VERSION, description = 'An extended version of the full configuration with a couple of additional columns with labels'),
|
33 |
BuilderConfig(name = 'vanilla', version = VERSION, description = 'All data pulled from the website without significant modifications apart from the web page structure parsing'),
|
34 |
-
BuilderConfig(name = 'pulled', version = VERSION, description = 'Same as vanilla, but sound files have been pulled from the website, and "source"
|
35 |
]
|
36 |
|
37 |
DEFAULT_CONFIG_NAME = 'quotes'
|
|
|
31 |
BuilderConfig(name = 'quotes', version = VERSION, description = 'Truncated version of the corpus, which does\'t contain sound effects'),
|
32 |
BuilderConfig(name = 'annotated', version = VERSION, description = 'An extended version of the full configuration with a couple of additional columns with labels'),
|
33 |
BuilderConfig(name = 'vanilla', version = VERSION, description = 'All data pulled from the website without significant modifications apart from the web page structure parsing'),
|
34 |
+
BuilderConfig(name = 'pulled', version = VERSION, description = 'Same as vanilla, but sound files have been pulled from the website, and "source" column is replaced with "sound" column')
|
35 |
]
|
36 |
|
37 |
DEFAULT_CONFIG_NAME = 'quotes'
|