update fields
Browse files- README.md +1 -5
- kptimes.py +0 -8
README.md
CHANGED
@@ -54,12 +54,8 @@ The following data fields are available :
|
|
54 |
- **keyphrases**: list of reference keyphrases.
|
55 |
- **prmu**: list of <u>P</u>resent-<u>R</u>eordered-<u>M</u>ixed-<u>U</u>nseen categories for reference keyphrases.
|
56 |
- **date**: publishing date (YYYY/MM/DD)
|
57 |
-
- **author**: author of the article (<meta name="author"/>)
|
58 |
- **categories**: categories of the article (1 or 2 categories)
|
59 |
-
-
|
60 |
-
- **file_name**: last part of the url, this is not a primary key
|
61 |
-
- **url**: original url of the document
|
62 |
-
|
63 |
## References
|
64 |
|
65 |
- (Gallina et al., 2019) Ygor Gallina, Florian Boudin, and Beatrice Daille. 2019.
|
|
|
54 |
- **keyphrases**: list of reference keyphrases.
|
55 |
- **prmu**: list of <u>P</u>resent-<u>R</u>eordered-<u>M</u>ixed-<u>U</u>nseen categories for reference keyphrases.
|
56 |
- **date**: publishing date (YYYY/MM/DD)
|
|
|
57 |
- **categories**: categories of the article (1 or 2 categories)
|
58 |
+
-
|
|
|
|
|
|
|
59 |
## References
|
60 |
|
61 |
- (Gallina et al., 2019) Ygor Gallina, Florian Boudin, and Beatrice Daille. 2019.
|
kptimes.py
CHANGED
@@ -83,11 +83,7 @@ class KPTimes(datasets.GeneratorBasedBuilder):
|
|
83 |
"keyphrases": datasets.features.Sequence(datasets.Value("string")),
|
84 |
"prmu": datasets.features.Sequence(datasets.Value("string")),
|
85 |
"date": datasets.Value("string"),
|
86 |
-
"author": datasets.Value("string"),
|
87 |
"categories": datasets.features.Sequence(datasets.Value("string")),
|
88 |
-
"headline": datasets.Value("string"),
|
89 |
-
"file_name": datasets.Value("string"),
|
90 |
-
"url": datasets.Value("string"),
|
91 |
}
|
92 |
)
|
93 |
return datasets.DatasetInfo(
|
@@ -157,10 +153,6 @@ class KPTimes(datasets.GeneratorBasedBuilder):
|
|
157 |
"keyphrases": data["keyphrases"],
|
158 |
"prmu": data["prmu"],
|
159 |
"date": data["date"],
|
160 |
-
"author": data["author"],
|
161 |
"categories": data["categories"],
|
162 |
-
"headline": data["headline"],
|
163 |
-
"file_name": data["file_name"],
|
164 |
-
"url": data["url"],
|
165 |
}
|
166 |
|
|
|
83 |
"keyphrases": datasets.features.Sequence(datasets.Value("string")),
|
84 |
"prmu": datasets.features.Sequence(datasets.Value("string")),
|
85 |
"date": datasets.Value("string"),
|
|
|
86 |
"categories": datasets.features.Sequence(datasets.Value("string")),
|
|
|
|
|
|
|
87 |
}
|
88 |
)
|
89 |
return datasets.DatasetInfo(
|
|
|
153 |
"keyphrases": data["keyphrases"],
|
154 |
"prmu": data["prmu"],
|
155 |
"date": data["date"],
|
|
|
156 |
"categories": data["categories"],
|
|
|
|
|
|
|
157 |
}
|
158 |
|