Datasets:
Commit
•
1c6e67a
1
Parent(s):
943f728
Update open-license-corpus.py
Browse files- open-license-corpus.py +1 -1
open-license-corpus.py
CHANGED
@@ -105,7 +105,7 @@ class OpenLicenseCorpus(datasets.GeneratorBasedBuilder):
|
|
105 |
id_ = 0
|
106 |
for subset in filepaths:
|
107 |
for path in filepaths[subset]:
|
108 |
-
logger.info("generating examples from = %s",
|
109 |
with gzip.open(open(filepath, "rb"), "rt", encoding="utf-8") as f:
|
110 |
for line in f:
|
111 |
if line:
|
|
|
105 |
id_ = 0
|
106 |
for subset in filepaths:
|
107 |
for path in filepaths[subset]:
|
108 |
+
logger.info("generating examples from = %s", path)
|
109 |
with gzip.open(open(filepath, "rb"), "rt", encoding="utf-8") as f:
|
110 |
for line in f:
|
111 |
if line:
|