mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Remove old word vector tests
This commit is contained in:
parent
e027936920
commit
8e962de39f
|
@ -1,18 +0,0 @@
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from spacy.en import English
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
@pytest.mark.models
|
|
||||||
def test_vec(EN):
|
|
||||||
hype = EN.vocab['hype']
|
|
||||||
assert hype.orth_ == 'hype'
|
|
||||||
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.7 >= hype.vector[0] > -0.8
|
|
Loading…
Reference in New Issue
Block a user