mirror of https://github.com/explosion/spaCy.git
* Merge changes from stash
This commit is contained in:
parent
23c1f6fc04
commit
8715101239
|
@ -61,8 +61,13 @@ def read_docparse_gold(file_):
|
|||
tags = []
|
||||
ids = []
|
||||
lines = sent_str.strip().split('\n')
|
||||
<<<<<<< HEAD
|
||||
raw_text = lines.pop(0).strip()
|
||||
tok_text = lines.pop(0).strip()
|
||||
=======
|
||||
raw_text = lines.pop(0)
|
||||
tok_text = lines.pop(0)
|
||||
>>>>>>> master
|
||||
for i, line in enumerate(lines):
|
||||
id_, word, pos_string, head_idx, label = _parse_line(line)
|
||||
if label == 'root':
|
||||
|
|
Loading…
Reference in New Issue