mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Merge branch 'master' of https://github.com/explosion/spaCy
This commit is contained in:
commit
9d7c2a46bb
|
@ -316,7 +316,8 @@ and ``--model`` are optional and enable additional tests:
|
||||||
=========== ============== ===========
|
=========== ============== ===========
|
||||||
Version Date Description
|
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.6.0`_ ``2017-01-16`` Improvements to tokenizer and tests
|
||||||
`v1.5.0`_ ``2016-12-27`` Alpha support for Swedish and Hungarian
|
`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
|
`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
|
`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.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.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
|
.. _v1.5.0: https://github.com/explosion/spaCy/releases/tag/v1.5.0
|
||||||
|
|
|
@ -28,6 +28,7 @@ def link_package(package_name, link_name, force=False):
|
||||||
|
|
||||||
|
|
||||||
def symlink(model_path, link_name, force):
|
def symlink(model_path, link_name, force):
|
||||||
|
model_path = Path(model_path)
|
||||||
if not Path(model_path).exists():
|
if not Path(model_path).exists():
|
||||||
util.sys_exit(
|
util.sys_exit(
|
||||||
"The data should be located in {p}".format(p=model_path),
|
"The data should be located in {p}".format(p=model_path),
|
||||||
|
|
13
spacy/tests/regression/test_issue891.py
Normal file
13
spacy/tests/regression/test_issue891.py
Normal 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 == "/"
|
|
@ -116,6 +116,11 @@
|
||||||
"title": "Showcase",
|
"title": "Showcase",
|
||||||
|
|
||||||
"libraries": {
|
"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": {
|
"spacy-nlp": {
|
||||||
"url": "https://github.com/kengz/spacy-nlp",
|
"url": "https://github.com/kengz/spacy-nlp",
|
||||||
"author": "Wah Loon Keng",
|
"author": "Wah Loon Keng",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user