Update dataset_extraction.py
Browse files- dataset_extraction.py +3 -3
dataset_extraction.py
CHANGED
@@ -16,7 +16,7 @@ def de_for_str(input):
|
|
16 |
|
17 |
output = []
|
18 |
for mention_pair in results["dataset_mentions"]:
|
19 |
-
output.append((mention_pair[
|
20 |
output.append(("\n\n", None))
|
21 |
return output
|
22 |
|
@@ -34,9 +34,9 @@ def de_for_file(input):
|
|
34 |
|
35 |
output = []
|
36 |
for mention_pair in results["dataset_mentions"]:
|
37 |
-
output.append((mention_pair[
|
38 |
output.append(("\n\n", None))
|
39 |
return output
|
40 |
|
41 |
|
42 |
-
de_str_example = "
|
|
|
16 |
|
17 |
output = []
|
18 |
for mention_pair in results["dataset_mentions"]:
|
19 |
+
output.append((mention_pair[1], mention_pair[0]))
|
20 |
output.append(("\n\n", None))
|
21 |
return output
|
22 |
|
|
|
34 |
|
35 |
output = []
|
36 |
for mention_pair in results["dataset_mentions"]:
|
37 |
+
output.append((mention_pair[1], mention_pair[0]))
|
38 |
output.append(("\n\n", None))
|
39 |
return output
|
40 |
|
41 |
|
42 |
+
de_str_example = "BAKIS incorporates information derived from the bank balance sheets and supervisory reports of all German banks ."
|