davidlms commited on
Commit
cbf0170
1 Parent(s): 3f92542

Update letras-carnaval-cadiz.py

Browse files
Files changed (1) hide show
  1. letras-carnaval-cadiz.py +21 -2
letras-carnaval-cadiz.py CHANGED
@@ -5,6 +5,25 @@ from typing import List, Any, Tuple
5
  import json
6
  import os
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  # Mapping for song_type and group_type
9
  song_type_mapping = {
10
  1: "presentación",
@@ -35,7 +54,7 @@ class CadizCarnivalDataset(GeneratorBasedBuilder):
35
 
36
  def _info(self):
37
  return datasets.DatasetInfo(
38
- description="_DESCRIPTION",
39
  features=datasets.Features({
40
  "id": Value("string"),
41
  "authors": Sequence(Value("string")),
@@ -47,7 +66,7 @@ class CadizCarnivalDataset(GeneratorBasedBuilder):
47
  }),
48
  supervised_keys=None,
49
  homepage="https://letrascarnavalcadiz.com/",
50
- citation="_CITATION",
51
  )
52
 
53
  def _split_generators(self, dl_manager: DownloadManager) -> List[SplitGenerator]:
 
5
  import json
6
  import os
7
 
8
+ _CITATION = """\
9
+ @misc{letrascarnavalcadiz2023,
10
+ author = {Romero Reyna, Iván and Franco Medinilla, Jesús Federico and Avecilla de la Herrán, Jesús Carlos},
11
+ title = {letras-carnaval-cadiz},
12
+ year = {2023},
13
+ url = {https://huggingface.co/datasets/IES-Rafael-Alberti/letras-carnaval-cadiz}
14
+ }
15
+ """
16
+
17
+ _DESCRIPTION = """\
18
+ This dataset is a comprehensive collection of lyrics from the Carnaval de Cádiz, a significant cultural heritage of the city of Cádiz, Spain. Despite its cultural importance, there has been a lack of a structured database for these lyrics, hindering research and public access to this cultural heritage. This dataset aims to address this gap.
19
+
20
+ The dataset was created by the Cádiz AI Learning Community, a branch of the non-profit association Spain AI, and was developed by Iván Romero Reyna and Jesús Federico Franco Medinilla, students of the Specialization Course in Artificial Intelligence and Big Data at IES Rafael Alberti during the 2022-2023 academic year. The project is supervised by Jesús Carlos Avecilla de la Herrán, a computational linguist.
21
+
22
+ Collaboration is encouraged, with individuals able to verify the different records of the dataset at letrascarnavalcadiz.com, ensuring the transcription of the lyrics and all data are correct. New lyrics can also be added to the dataset. Corrections and additions are not immediately reflected in the dataset but are updated periodically.
23
+
24
+ For more information or to report a problem, you can write to [email protected].
25
+ """
26
+
27
  # Mapping for song_type and group_type
28
  song_type_mapping = {
29
  1: "presentación",
 
54
 
55
  def _info(self):
56
  return datasets.DatasetInfo(
57
+ description=_DESCRIPTION,
58
  features=datasets.Features({
59
  "id": Value("string"),
60
  "authors": Sequence(Value("string")),
 
66
  }),
67
  supervised_keys=None,
68
  homepage="https://letrascarnavalcadiz.com/",
69
+ citation=_CITATION,
70
  )
71
 
72
  def _split_generators(self, dl_manager: DownloadManager) -> List[SplitGenerator]: