kiamehr74 commited on
Commit
7ff9e0f
·
1 Parent(s): 4a33343

labels added

Browse files
Files changed (1) hide show
  1. CoarseWSD-20.py +1 -1
CoarseWSD-20.py CHANGED
@@ -96,7 +96,7 @@ class CWSD20(datasets.GeneratorBasedBuilder):
96
  with open(ex, encoding="utf-8") as exf:
97
  with open(lb, encoding="utf-8") as lbf:
98
 
99
- for id_, exi, lbi in enumerate(zip(exf, lbf)):
100
  example = {}
101
  # 'word', 'sentence1', 'sentence2', 'start1', 'start2', 'end1', 'end2', 'idx', 'label'
102
  parts = exi.split("\t")
 
96
  with open(ex, encoding="utf-8") as exf:
97
  with open(lb, encoding="utf-8") as lbf:
98
 
99
+ for id_, (exi, lbi) in enumerate(zip(exf, lbf)):
100
  example = {}
101
  # 'word', 'sentence1', 'sentence2', 'start1', 'start2', 'end1', 'end2', 'idx', 'label'
102
  parts = exi.split("\t")