qanastek commited on
Commit
a4e7c56
1 Parent(s): f8b8612

Update E3C.py

Browse files
Files changed (1) hide show
  1. E3C.py +2 -2
E3C.py CHANGED
@@ -284,8 +284,8 @@ class E3C(datasets.GeneratorBasedBuilder):
284
 
285
  all_res.append({
286
  "id": key,
287
- "text": sentence[-1],
288
- "tokens": list(map(lambda token: token[2], filtered_tokens)),
289
  "ner_tags": _labels,
290
  "is_oov": [_VOCAB.find(tt.lower()) for tt in list(map(lambda token: token[2], filtered_tokens))],
291
  })
 
284
 
285
  all_res.append({
286
  "id": key,
287
+ "text": sentence[-1].lower(),
288
+ "tokens": [tok.lower() for tok in list(map(lambda token: token[2], filtered_tokens))],
289
  "ner_tags": _labels,
290
  "is_oov": [_VOCAB.find(tt.lower()) for tt in list(map(lambda token: token[2], filtered_tokens))],
291
  })