Lautaro Estienne commited on
Commit
fdbbedb
1 Parent(s): 880990a

Edited melisa.py

Browse files
Files changed (3) hide show
  1. README.md +2 -0
  2. dataset_infos.json +0 -0
  3. melisa.py +7 -3
README.md CHANGED
@@ -95,6 +95,8 @@ Table shows the number of samples per star rate in each split. There is a total
95
 
96
  Reviews in spanish were obtained from 8 different Latin Amercian countries (Argentina, Colombia, Peru, Uruguay, Chile, Venezuela and Mexico), and portuguese reviews were extracted from Brasil. To match the language with its respective country, we applied a language detection algorithm based on the works of Joulin et al. (2016a and 2016b) to determine the language of the review text and we removed reviews that were not written in the expected language.
97
 
 
 
98
  ### Languages
99
  The dataset contains reviews in Latin American Spanish and Portuguese.
100
 
 
95
 
96
  Reviews in spanish were obtained from 8 different Latin Amercian countries (Argentina, Colombia, Peru, Uruguay, Chile, Venezuela and Mexico), and portuguese reviews were extracted from Brasil. To match the language with its respective country, we applied a language detection algorithm based on the works of Joulin et al. (2016a and 2016b) to determine the language of the review text and we removed reviews that were not written in the expected language.
97
 
98
+ [More Information Needed]
99
+
100
  ### Languages
101
  The dataset contains reviews in Latin American Spanish and Portuguese.
102
 
dataset_infos.json ADDED
File without changes
melisa.py CHANGED
@@ -5,9 +5,13 @@ _LICENSE = """
5
  TO DO: Licencia
6
  """
7
 
8
- _DESCRIPTION = """
9
- TO DO: Descripción del dataset.
10
- """
 
 
 
 
11
 
12
  _CITATION = """
13
  TO DO: Cita
 
5
  TO DO: Licencia
6
  """
7
 
8
+ with open("README.md", "r") as f:
9
+ lines = iter(f.readlines())
10
+ for line in lines:
11
+ if "### Dataset Summary" in line:
12
+ break
13
+ next(lines)
14
+ _DESCRIPTION = next(lines)
15
 
16
  _CITATION = """
17
  TO DO: Cita