Merge branch 'develop' of https://github.com/explosion/spaCy into develop

This commit is contained in:
Matthew Honnibal 2017-05-23 05:58:17 -05:00
commit e7d3159d91
2 changed files with 2 additions and 12 deletions

View File

@ -54,12 +54,14 @@ def test_build_model(parser):
assert parser.model is not None assert parser.model is not None
@pytest.mark.xfail
def test_predict_doc(parser, tok2vec, model, doc): def test_predict_doc(parser, tok2vec, model, doc):
doc.tensor = tok2vec([doc]) doc.tensor = tok2vec([doc])
parser.model = model parser.model = model
parser(doc) parser(doc)
@pytest.mark.xfail
def test_update_doc(parser, tok2vec, model, doc, gold): def test_update_doc(parser, tok2vec, model, doc, gold):
parser.model = model parser.model = model
tokvecs, bp_tokvecs = tok2vec.begin_update([doc]) tokvecs, bp_tokvecs = tok2vec.begin_update([doc])

View File

@ -1,12 +0,0 @@
# coding: utf-8
from __future__ import unicode_literals
from ...vocab import Vocab
def test_issue617():
"""Test loading Vocab with string"""
try:
vocab = Vocab.load('/tmp/vocab')
except IOError:
pass