Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
1K<n<10K
Language Creators:
found
Annotations Creators:
crowdsourced
Source Datasets:
original
Tags:
License:
jpwahle commited on
Commit
69e1d00
1 Parent(s): f1ee938

Update etpc.py

Browse files
Files changed (1) hide show
  1. etpc.py +1 -4
etpc.py CHANGED
@@ -163,10 +163,6 @@ class ETPC(datasets.GeneratorBasedBuilder):
163
  sentence2_segment_location,
164
  paraphrase_type_ids,
165
  ):
166
- print(paraphrase_type_id)
167
- print(sentence1_segment_location_example.split(","))
168
- print(sentence2_segment_location_example.split(","))
169
-
170
  for (
171
  segment_location
172
  ) in sentence1_segment_location_example.split(","):
@@ -179,6 +175,7 @@ class ETPC(datasets.GeneratorBasedBuilder):
179
  sentence2_segment_location_full[
180
  int(segment_location)
181
  ] = int(paraphrase_type_id)
 
182
  yield idx, {
183
  "idx": row.find(".//pair_id").text + "_" + str(idx),
184
  "sentence1": row.find(".//sent1_raw").text,
 
163
  sentence2_segment_location,
164
  paraphrase_type_ids,
165
  ):
 
 
 
 
166
  for (
167
  segment_location
168
  ) in sentence1_segment_location_example.split(","):
 
175
  sentence2_segment_location_full[
176
  int(segment_location)
177
  ] = int(paraphrase_type_id)
178
+
179
  yield idx, {
180
  "idx": row.find(".//pair_id").text + "_" + str(idx),
181
  "sentence1": row.find(".//sent1_raw").text,