Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stanfordnlp/stanza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Qi <qipeng@users.noreply.github.com>2019-01-29 22:22:11 +0300
committerPeng Qi <qipeng@users.noreply.github.com>2019-01-29 22:22:11 +0300
commitf23ecb3480c42cd93a8832d158fd03f791682c02 (patch)
tree6738888b8b9636ebecb7f11c92a5be7285748647 /README.md
parent795d2dc53e5ecda84b47e136482ab5aff836d96b (diff)
Update Python version notes
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 736e3268..c4f0544b 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ Please use the following channels for questions and issue reports.
## Setup
-StanfordNLP supports Python 3.6.8 or later and 3.7.2 or later. We strongly recommend that you install StanfordNLP from PyPI. If you already have [pip installed](https://pip.pypa.io/en/stable/installing/), simply run
+StanfordNLP supports Python 3.6 or later. We strongly recommend that you install StanfordNLP from PyPI. If you already have [pip installed](https://pip.pypa.io/en/stable/installing/), simply run
```bash
pip install stanfordnlp
```
@@ -51,7 +51,7 @@ pip install -e .
### Getting Started with the neural pipeline
-To get run your first StanfordNLP pipeline, simply following these steps in your Python interactive interpreter:
+To run your first StanfordNLP pipeline, simply following these steps in your Python interactive interpreter:
```python
>>> import stanfordnlp
@@ -73,6 +73,8 @@ The last command will print out the words in the first sentence in the input str
('.', '4', 'punct')
```
+**Note:** If you are running into issues like `OSError: [Errno 22] Invalid argument`, it's very likely that you are affected by a [known Python issue](https://bugs.python.org/issue24658), and we would recommend Python 3.6.8 or later and Python 3.7.2 or later.
+
We also provide a multilingual [demo script](https://github.com/stanfordnlp/stanfordnlp/blob/master/demo/pipeline_demo.py) that demonstrates how one uses StanfordNLP in other languages than English, for example Chinese (traditional)
```bash