Update disrpt.py
Browse files
disrpt.py
CHANGED
@@ -113,7 +113,7 @@ _URLs = {f'{task}-{split}.{type}':f"https://raw.githubusercontent.com/disrpt/sha
|
|
113 |
for task in files for split in 'train dev test'.split() for type in ['rels','conllu']}
|
114 |
#_URLs = {k:v for k,v in _URLs.items() if requests.get(v).status_code!=404}
|
115 |
|
116 |
-
conllu_features = ['id', 'form', 'lemma', 'upos', 'xpos', 'feats', 'head', 'deprel', 'deps', 'misc', 'seg'
|
117 |
feature_type = {"seg":datasets.features.Sequence(
|
118 |
datasets.features.ClassLabel(names=["O","B-Segment"])),
|
119 |
'id':datasets.Value("string")}
|
|
|
113 |
for task in files for split in 'train dev test'.split() for type in ['rels','conllu']}
|
114 |
#_URLs = {k:v for k,v in _URLs.items() if requests.get(v).status_code!=404}
|
115 |
|
116 |
+
conllu_features = ['id', 'form', 'lemma', 'upos', 'xpos', 'feats', 'head', 'deprel', 'deps', 'misc', 'seg']
|
117 |
feature_type = {"seg":datasets.features.Sequence(
|
118 |
datasets.features.ClassLabel(names=["O","B-Segment"])),
|
119 |
'id':datasets.Value("string")}
|