ajanz commited on
Commit
1a003d5
1 Parent(s): 3324655

BN and PWN annotations recovered after tokenization issues

Browse files
Files changed (1) hide show
  1. wsd_polish_datasets.py +3 -3
wsd_polish_datasets.py CHANGED
@@ -228,9 +228,9 @@ class WsdPolishDataset(datasets.GeneratorBasedBuilder):
228
  "index": tok["index"],
229
  "plWN_syn_id": tok["plWN_syn_id"],
230
  "plWN_lex_id": tok["plWN_lex_id"],
231
- # "PWN_syn_id": tok["PWN_syn_id"],
232
- # "bn_syn_id": tok["bn_syn_id"],
233
- # "mapping_relation": tok["mapping_relation"],
234
 
235
  }
236
  for tok in data["wsd"]
 
228
  "index": tok["index"],
229
  "plWN_syn_id": tok["plWN_syn_id"],
230
  "plWN_lex_id": tok["plWN_lex_id"],
231
+ "PWN_syn_id": tok["PWN_syn_id"],
232
+ "bn_syn_id": tok["bn_syn_id"],
233
+ "mapping_relation": tok["mapping_relation"],
234
 
235
  }
236
  for tok in data["wsd"]