diff --git a/README.rst b/README.rst index 961c56ed6..f066f19db 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 @@ -100,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``) ==================== === 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): 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(): 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