mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +03:00
Merge branch 'master' of ssh://github.com/explosion/spaCy
This commit is contained in:
commit
3f5747a9b2
|
@ -8,11 +8,11 @@ import pytest
|
|||
def test_vec(EN):
|
||||
hype = EN.vocab['hype']
|
||||
assert hype.orth_ == 'hype'
|
||||
assert 0.08 >= hype.vector[0] > 0.07
|
||||
assert -0.7 >= hype.vector[0] > -0.8
|
||||
|
||||
|
||||
@pytest.mark.models
|
||||
def test_capitalized(EN):
|
||||
hype = EN.vocab['Hype']
|
||||
assert hype.orth_ == 'Hype'
|
||||
assert 0.08 >= hype.vector[0] > 0.07
|
||||
assert -0.7 >= hype.vector[0] > -0.8
|
||||
|
|
Loading…
Reference in New Issue
Block a user