Skip to content
Snippets Groups Projects
Commit f8bb4c44 authored by pwalkow's avatar pwalkow
Browse files

repair list

parent 34e11dde
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ def main(dataset_name: str): ...@@ -107,7 +107,7 @@ def main(dataset_name: str):
test_with_tags = pd.DataFrame( test_with_tags = pd.DataFrame(
pd.read_json(os.path.join(input_dir, file), lines=True) pd.read_json(os.path.join(input_dir, file), lines=True)
) )
empty_list = [[] for _ in range(len(test_with_tags)]] empty_list = [[] for _ in range(len(test_with_tags))]
test_with_tags[LEMMAS] = empty_list test_with_tags[LEMMAS] = empty_list
test_with_tags[TAGS] = empty_list test_with_tags[TAGS] = empty_list
test_with_tags[ORTHS] = empty_list test_with_tags[ORTHS] = empty_list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment