Update arman.py
Browse files
arman.py
CHANGED
@@ -2,8 +2,7 @@ import os
|
|
2 |
import datasets
|
3 |
|
4 |
"""ArmanPersoNERCorpus"""
|
5 |
-
|
6 |
-
print(wd)
|
7 |
_CITATION = """\
|
8 |
@inproceedings{poostchi-etal-2016-personer,
|
9 |
title = "{P}erso{NER}: {P}ersian Named-Entity Recognition",
|
@@ -27,9 +26,9 @@ ArmanPersoNERCorpus includes 250,015 tokens and 7,682 Persian sentences in total
|
|
27 |
"""
|
28 |
_HOMEPAGE = "https://github.com/HaniehP/PersianNER"
|
29 |
_DATA_URL = "https://github.com/HaniehP/PersianNER/raw/master/ArmanPersoNERCorpus.zip"
|
30 |
-
_TRAINING_FILE =
|
31 |
-
_DEV_FILE =
|
32 |
-
_TEST_FILE =
|
33 |
|
34 |
class Arman(datasets.GeneratorBasedBuilder):
|
35 |
"""ArmanPersoNER Corpus"""
|
|
|
2 |
import datasets
|
3 |
|
4 |
"""ArmanPersoNERCorpus"""
|
5 |
+
|
|
|
6 |
_CITATION = """\
|
7 |
@inproceedings{poostchi-etal-2016-personer,
|
8 |
title = "{P}erso{NER}: {P}ersian Named-Entity Recognition",
|
|
|
26 |
"""
|
27 |
_HOMEPAGE = "https://github.com/HaniehP/PersianNER"
|
28 |
_DATA_URL = "https://github.com/HaniehP/PersianNER/raw/master/ArmanPersoNERCorpus.zip"
|
29 |
+
_TRAINING_FILE = r'/data/train.txt'
|
30 |
+
_DEV_FILE = r'/data/dev.txt'
|
31 |
+
_TEST_FILE = r'/data/test.txt'
|
32 |
|
33 |
class Arman(datasets.GeneratorBasedBuilder):
|
34 |
"""ArmanPersoNER Corpus"""
|