This commit is contained in:
Matthew Honnibal 2017-03-19 15:01:53 +01:00
commit 9d7c2a46bb
4 changed files with 22 additions and 1 deletions

View File

@ -316,7 +316,8 @@ and ``--model`` are optional and enable additional tests:
=========== ============== ===========
Version Date Description
=========== ============== ===========
`v1.7.0`_ ``2017-03-17`` New 50 MB model, CLI, better downloads and lots of bug fixes
`v1.7.1`_ ``2017-03-19`` Fix data download for system installation
`v1.7.0`_ ``2017-03-18`` New 50 MB model, CLI, better downloads and lots of bug fixes
`v1.6.0`_ ``2017-01-16`` Improvements to tokenizer and tests
`v1.5.0`_ ``2016-12-27`` Alpha support for Swedish and Hungarian
`v1.4.0`_ ``2016-12-18`` Improved language data and alpha Dutch support
@ -342,6 +343,7 @@ Version Date Description
`v0.93`_ ``2015-09-22`` Bug fixes to word vectors
=========== ============== ===========
.. _v1.7.1: https://github.com/explosion/spaCy/releases/tag/v1.7.1
.. _v1.7.0: https://github.com/explosion/spaCy/releases/tag/v1.7.0
.. _v1.6.0: https://github.com/explosion/spaCy/releases/tag/v1.6.0
.. _v1.5.0: https://github.com/explosion/spaCy/releases/tag/v1.5.0

View File

@ -28,6 +28,7 @@ def link_package(package_name, link_name, force=False):
def symlink(model_path, link_name, force):
model_path = Path(model_path)
if not Path(model_path).exists():
util.sys_exit(
"The data should be located in {p}".format(p=model_path),

View File

@ -0,0 +1,13 @@
# coding: utf8
from __future__ import unicode_literals
import pytest
@pytest.mark.xfail
@pytest.mark.parametrize('text', ["want/need"])
def test_issue891(en_tokenizer, text):
"""Test that / infixes are split correctly."""
tokens = en_tokenizer(text)
assert len(tokens) == 3
assert tokens[1].text == "/"

View File

@ -116,6 +116,11 @@
"title": "Showcase",
"libraries": {
"spacy_api": {
"url": "https://github.com/kootenpv/spacy_api",
"author": "Pascal van Kooten",
"description": "Server/client to load models in a separate, dedicated process."
},
"spacy-nlp": {
"url": "https://github.com/kengz/spacy-nlp",
"author": "Wah Loon Keng",