update
Browse files- UTS_WTK_v1.py +2 -2
UTS_WTK_v1.py
CHANGED
@@ -49,9 +49,9 @@ class UTS_WTK_v1(datasets.GeneratorBasedBuilder):
|
|
49 |
def _generate_examples(self, filepath):
|
50 |
with open(filepath, encoding="utf-8") as f:
|
51 |
guid = 0
|
|
|
|
|
52 |
for line in f:
|
53 |
-
tokens = []
|
54 |
-
tags = []
|
55 |
if line == "" or line == "\n":
|
56 |
print(tokens)
|
57 |
if tokens:
|
|
|
49 |
def _generate_examples(self, filepath):
|
50 |
with open(filepath, encoding="utf-8") as f:
|
51 |
guid = 0
|
52 |
+
tokens = []
|
53 |
+
tags = []
|
54 |
for line in f:
|
|
|
|
|
55 |
if line == "" or line == "\n":
|
56 |
print(tokens)
|
57 |
if tokens:
|