Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
sileod commited on
Commit
e17625f
·
1 Parent(s): 5b7d4a9

Update disrpt.py

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