KoichiYasuoka
commited on
Commit
•
50f04d6
1
Parent(s):
2ea3689
bug fix
Browse files
README.md
CHANGED
@@ -83,7 +83,7 @@ class TransformersUD(object):
|
|
83 |
for i,(s,e,p) in enumerate(w,1):
|
84 |
p="root" if h[i]==0 else "dep" if p=="root" else p
|
85 |
u+="\t".join([str(i),r[i-1],"_",z[s][0][2:],"_","|".join(z[s][1:]),
|
86 |
-
str(h[i]),p,"_","_" if i<n and w[i][0]
|
87 |
return u+"\n"
|
88 |
|
89 |
nlp=TransformersUD("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
|
|
|
83 |
for i,(s,e,p) in enumerate(w,1):
|
84 |
p="root" if h[i]==0 else "dep" if p=="root" else p
|
85 |
u+="\t".join([str(i),r[i-1],"_",z[s][0][2:],"_","|".join(z[s][1:]),
|
86 |
+
str(h[i]),p,"_","_" if i<n and e<w[i][0] else "SpaceAfter=No"])+"\n"
|
87 |
return u+"\n"
|
88 |
|
89 |
nlp=TransformersUD("KoichiYasuoka/roberta-base-japanese-aozora-ud-head")
|