KoichiYasuoka
commited on
Commit
•
1440ef9
1
Parent(s):
1d0c47a
bug fix
Browse files
maker.py
CHANGED
@@ -18,8 +18,9 @@ class UDgoeswithDataset(object):
|
|
18 |
dep,c="-|_|dep",[]
|
19 |
for s in r:
|
20 |
t=s.split("\t")
|
21 |
-
if len(t)==10
|
22 |
-
|
|
|
23 |
elif c!=[]:
|
24 |
for x in [lambda i:i.replace(" ","_"),lambda i:i.replace("_"," ")]:
|
25 |
d=list(c)
|
|
|
18 |
dep,c="-|_|dep",[]
|
19 |
for s in r:
|
20 |
t=s.split("\t")
|
21 |
+
if len(t)==10:
|
22 |
+
if t[0].isdecimal():
|
23 |
+
c.append(t)
|
24 |
elif c!=[]:
|
25 |
for x in [lambda i:i.replace(" ","_"),lambda i:i.replace("_"," ")]:
|
26 |
d=list(c)
|