From 17cb04a26eda01f87d7dc4a8a4c7a8a31a68c759 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 26 Mar 2017 18:42:14 +0200 Subject: [PATCH 1/5] Update README.rst --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index 961c56ed6..6cfb497bc 100644 --- a/README.rst +++ b/README.rst @@ -40,6 +40,7 @@ open-source software, released under the MIT license. =================== === `Usage Workflows`_ How to use spaCy and its features. `API Reference`_ The detailed reference for spaCy's API. +`Troubleshooting`_ Common problems and solutions for beginners. `Tutorials`_ End-to-end examples, with code you can modify and run. `Showcase & Demos`_ Demos, libraries and products from the spaCy community. `Contribute`_ How to contribute to the spaCy project and code base. @@ -47,6 +48,7 @@ open-source software, released under the MIT license. .. _Usage Workflows: https://spacy.io/docs/usage/ .. _API Reference: https://spacy.io/docs/api/ +.. _Troubleshooting: https://spacy.io/docs/usage/troubleshooting .. _Tutorials: https://spacy.io/docs/usage/tutorials .. _Showcase & Demos: https://spacy.io/docs/usage/showcase .. _Contribute: https://github.com/explosion/spaCy/blob/master/CONTRIBUTING.md From aee7008513f5eae02e123597c13f2a3c679d770b Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Mon, 27 Mar 2017 01:07:21 +0200 Subject: [PATCH 2/5] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6cfb497bc..f066f19db 100644 --- a/README.rst +++ b/README.rst @@ -102,7 +102,7 @@ Supports ==================== === **Operating system** macOS / OS X, Linux, Windows (Cygwin, MinGW, Visual Studio) -**Python version** CPython 2.6, 2.7, 3.3, 3.4, 3.5. Only 64 bit. +**Python version** CPython 2.6, 2.7, 3.3+. Only 64 bit. **Package managers** `pip`_ (source packages only), `conda`_ (via ``conda-forge``) ==================== === From 9c2996b27f10a3111d08785a1c460f7305b4c652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Howard?= Date: Wed, 29 Mar 2017 09:11:02 +0200 Subject: [PATCH 3/5] correction of package.py (encoding on open instead of write) --- spacy/cli/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/package.py b/spacy/cli/package.py index 5cab2b4bc..6de2fd140 100644 --- a/spacy/cli/package.py +++ b/spacy/cli/package.py @@ -58,7 +58,7 @@ def create_dirs(package_path, force): def create_file(file_path, contents): file_path.touch() - file_path.open('w').write(contents, encoding='utf-8') + file_path.open('w', encoding='utf-8').write(contents) def generate_meta(): From 7e4befec8820371930d9815c0f1c880e2c1d2196 Mon Sep 17 00:00:00 2001 From: ines Date: Wed, 29 Mar 2017 10:34:57 +0200 Subject: [PATCH 4/5] Add Hebrew to init and setup.py --- setup.py | 1 + spacy/__init__.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/setup.py b/setup.py index e61e42c95..312469622 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,7 @@ PACKAGES = [ 'spacy.sv', 'spacy.fi', 'spacy.bn', + 'spacy.he', 'spacy.en.lemmatizer', 'spacy.language_data', 'spacy.serialize', diff --git a/spacy/__init__.py b/spacy/__init__.py index 80bd1c539..d2e0ad92b 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -19,6 +19,7 @@ from . import nl from . import sv from . import fi from . import bn +from . import he from .about import * @@ -35,6 +36,7 @@ set_lang_class(nl.Dutch.lang, nl.Dutch) set_lang_class(sv.Swedish.lang, sv.Swedish) set_lang_class(fi.Finnish.lang, fi.Finnish) set_lang_class(bn.Bengali.lang, bn.Bengali) +set_lang_class(he.Hebrew.lang, he.Hebrew) def load(name, **overrides): From e210496f78bbe915e4dc44e76a078b4f1aac6060 Mon Sep 17 00:00:00 2001 From: ines Date: Wed, 29 Mar 2017 10:35:20 +0200 Subject: [PATCH 5/5] Update Windows compiler docs --- website/docs/usage/index.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/usage/index.jade b/website/docs/usage/index.jade index 044f5fb37..48fe6b783 100644 --- a/website/docs/usage/index.jade +++ b/website/docs/usage/index.jade @@ -147,7 +147,7 @@ p +cell Visual Studio 2010 +row - +cell Python 3.5 + +cell Python 3.5+ +cell Visual Studio 2015 +h(2, "tests") Run tests