Update brwac-clean.py
Browse files- brwac-clean.py +3 -1
brwac-clean.py
CHANGED
@@ -44,10 +44,12 @@ class BrwacClean(datasets.GeneratorBasedBuilder):
|
|
44 |
def _split_generators(self, dl_manager):
|
45 |
files = _BASE_DIR
|
46 |
files = dl_manager.download(files)
|
|
|
47 |
|
48 |
with open(files, encoding="utf-8") as f:
|
49 |
data_filenames = [line.split("\t")[0] for line in f if line]
|
50 |
-
data_urls = [self.config.base_data_url + data_filename.strip() for data_filename in data_filenames]
|
|
|
51 |
downloaded_files = dl_manager.download(data_urls)
|
52 |
|
53 |
return [
|
|
|
44 |
def _split_generators(self, dl_manager):
|
45 |
files = _BASE_DIR
|
46 |
files = dl_manager.download(files)
|
47 |
+
url = "https://drive.google.com/file/d/10YelrSn-sjGptw2ns5uZUEMSa58VNmF1"
|
48 |
|
49 |
with open(files, encoding="utf-8") as f:
|
50 |
data_filenames = [line.split("\t")[0] for line in f if line]
|
51 |
+
#data_urls = [self.config.base_data_url + data_filename.strip() for data_filename in data_filenames]
|
52 |
+
data_urls = [url for data_filename in data_filenames]
|
53 |
downloaded_files = dl_manager.download(data_urls)
|
54 |
|
55 |
return [
|