init
Browse files- 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('
|
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 |
|