KoichiYasuoka commited on
Commit
e58dcf1
1 Parent(s): f55d1bb
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -89,7 +89,7 @@ class TransformersUD(object):
89
  for i,(s,e,p) in enumerate(w,1):
90
  p="root" if h[i]==0 else "dep" if p=="root" else p
91
  u+="\t".join([str(i),r[i-1],"_",z[s][0][2:],"_","|".join(z[s][1:]),
92
- str(h[i]),p,"_","_" if i<n and w[i][0]<e else "SpaceAfter=No"])+"\n"
93
  return u+"\n"
94
 
95
  nlp=TransformersUD("KoichiYasuoka/deberta-base-thai-ud-head")
 
89
  for i,(s,e,p) in enumerate(w,1):
90
  p="root" if h[i]==0 else "dep" if p=="root" else p
91
  u+="\t".join([str(i),r[i-1],"_",z[s][0][2:],"_","|".join(z[s][1:]),
92
+ str(h[i]),p,"_","_" if i<n and e<w[i][0] else "SpaceAfter=No"])+"\n"
93
  return u+"\n"
94
 
95
  nlp=TransformersUD("KoichiYasuoka/deberta-base-thai-ud-head")