energybubu commited on
Commit
74572e6
·
1 Parent(s): 97aced8
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -93,6 +93,7 @@ def comp(s1, s2):
93
  for e in edits:
94
  typ, content = e.type[0], e.type[2:]
95
  print(e.type, typ, content)
 
96
  if typ in eng2zh and content in eng2zh:
97
  new_statement = eng2zh[typ]+':' + eng2zh[content]
98
  ori_anno['entities'].append({
 
93
  for e in edits:
94
  typ, content = e.type[0], e.type[2:]
95
  print(e.type, typ, content)
96
+ new_statement = e.type
97
  if typ in eng2zh and content in eng2zh:
98
  new_statement = eng2zh[typ]+':' + eng2zh[content]
99
  ori_anno['entities'].append({