From a5ccb0ca99da705d9e9433ae68edc82daae41ada Mon Sep 17 00:00:00 2001 From: Matt Triff Date: Wed, 30 Jan 2019 13:25:37 -0500 Subject: [PATCH] Add documentation for Windows installation Adds details on how to install this package on Windows, resolves nickdavidhaynes/spacy-cld#5 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 76ce1fb..6d78af2 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,14 @@ This package is a [spaCy 2.0 extension](https://spacy.io/usage/processing-pipeli `pip install spacy_cld` +### Windows Prerequisite + +This package uses the `pycld2` Python extension. On Windows, you must manually install this extension before installing `spacy_cld`. Precompiled binaries are available [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycld2). Download the correct version for your Python version and install the package using `pip`. + +i.e. for Python 3.7 on a 64-bit machine, run the following from the same directory as the downloaded file (Note: the filename may differ for the latest version): + +`pip install pycld2-0.31-cp37-cp37m-win_amd64.whl` + ## Usage Adding the spaCy-CLD component to the processing pipeline is relatively simple: