SuzanaB
commited on
Commit
·
d0a9f9e
1
Parent(s):
56fe1d2
Fix special lines
Browse files- reldi_hr.py +1 -1
reldi_hr.py
CHANGED
@@ -120,7 +120,7 @@ class ReldiHr(datasets.GeneratorBasedBuilder):
|
|
120 |
iob_tags = []
|
121 |
data_id = 0
|
122 |
for line in f:
|
123 |
-
if line and not line == '\n':
|
124 |
if line.startswith('# sent_id'):
|
125 |
if tokens:
|
126 |
yield data_id, {
|
|
|
120 |
iob_tags = []
|
121 |
data_id = 0
|
122 |
for line in f:
|
123 |
+
if line and not line == '\n' and not line.startswith('# global.columns'):
|
124 |
if line.startswith('# sent_id'):
|
125 |
if tokens:
|
126 |
yield data_id, {
|