imvladikon
commited on
Commit
·
a0caf85
1
Parent(s):
e130469
Update arabic_ner_mafat.py
Browse files- arabic_ner_mafat.py +3 -1
arabic_ner_mafat.py
CHANGED
@@ -62,6 +62,7 @@ class ArabicNerMafat(datasets.GeneratorBasedBuilder):
|
|
62 |
]
|
63 |
)
|
64 |
),
|
|
|
65 |
}
|
66 |
),
|
67 |
supervised_keys=None,
|
@@ -94,6 +95,7 @@ class ArabicNerMafat(datasets.GeneratorBasedBuilder):
|
|
94 |
"tokens": tokens,
|
95 |
"raw_tags": ner_tags,
|
96 |
"ner_tags": ner_tags,
|
|
|
|
|
97 |
}
|
98 |
guid += 1
|
99 |
-
|
|
|
62 |
]
|
63 |
)
|
64 |
),
|
65 |
+
"record": datasets.Value("string"),
|
66 |
}
|
67 |
),
|
68 |
supervised_keys=None,
|
|
|
95 |
"tokens": tokens,
|
96 |
"raw_tags": ner_tags,
|
97 |
"ner_tags": ner_tags,
|
98 |
+
"record": json.dumps(line, ensure_ascii=False),
|
99 |
+
|
100 |
}
|
101 |
guid += 1
|
|