changed chunk generation
Browse files- ref_seg_ger.py +2 -1
ref_seg_ger.py
CHANGED
@@ -216,7 +216,8 @@ class RefSeg(datasets.GeneratorBasedBuilder):
|
|
216 |
for i, row in df.iterrows():
|
217 |
|
218 |
tokenized_input = row['token'].split(' ')
|
219 |
-
|
|
|
220 |
if len(tokenized_input) > 1:
|
221 |
if row['tag'] == 'B':
|
222 |
if tokenized_input[0] == '':
|
|
|
216 |
for i, row in df.iterrows():
|
217 |
|
218 |
tokenized_input = row['token'].split(' ')
|
219 |
+
if f.endswith('Cermaine_0.xml.csv'):
|
220 |
+
print(tokenized_input)
|
221 |
if len(tokenized_input) > 1:
|
222 |
if row['tag'] == 'B':
|
223 |
if tokenized_input[0] == '':
|