asahi417 commited on
Commit
6d5c22b
1 Parent(s): 2052d9d
Files changed (1) hide show
  1. process/tweet_ner.py +1 -1
process/tweet_ner.py CHANGED
@@ -11,7 +11,7 @@ def process(tmp):
11
  for i in tmp:
12
  i.pop("id")
13
  i['gold_label_sequence'] = i.pop('tags').tolist()
14
- i['text_tokenized'] = i.pop('token').tolist()
15
  i['text'] = ' '.join(i['text_tokenized'])
16
  return tmp
17
 
 
11
  for i in tmp:
12
  i.pop("id")
13
  i['gold_label_sequence'] = i.pop('tags').tolist()
14
+ i['text_tokenized'] = i.pop('tokens').tolist()
15
  i['text'] = ' '.join(i['text_tokenized'])
16
  return tmp
17