mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
* Fix test partial parse
This commit is contained in:
parent
9de218b7ba
commit
0ea08c4319
|
@ -7,6 +7,6 @@ def test_initial(EN):
|
||||||
next_actions = EN.parser.partial(doc, ['L-nsubj', 'S', 'L-det'])
|
next_actions = EN.parser.partial(doc, ['L-nsubj', 'S', 'L-det'])
|
||||||
assert doc[0].head.i == 1
|
assert doc[0].head.i == 1
|
||||||
assert doc[1].head.i == 1
|
assert doc[1].head.i == 1
|
||||||
assert doc[2].head.i == 2
|
assert doc[2].head.i == 3
|
||||||
assert doc[3].head.i == 2
|
assert doc[3].head.i == 3
|
||||||
assert doc
|
assert doc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user