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:
authorChristopher Manning <manning@cs.stanford.edu>2019-07-14 07:17:22 +0300
committerGitHub <noreply@github.com>2019-07-14 07:17:22 +0300
commit066eb48f334fb8032d0da8a0f53e7a41998d9ef0 (patch)
tree60c258cccc131a01eb4b1a10291630e564bacf39 /README.md
parent8050998fd46cd55d903f0a03bbcac9fcc5076060 (diff)
editing last commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 414ad38a..11ce0323 100644
--- a/README.md
+++ b/README.md
@@ -66,8 +66,8 @@ To run your first StanfordNLP pipeline, simply following these steps in your Pyt
```python
>>> import stanfordnlp
>>> stanfordnlp.download('en') # This downloads the English models for the neural pipeline
-# IMPORTANT: The above line prompts you before downloading, which doesn't work well in a Jupyter notebook. To avoid a prompt use:
-# stanfordnlp.download('en', force=True)
+# IMPORTANT: The above line prompts you before downloading, which doesn't work well in a Jupyter notebook.
+# To avoid a prompt when using notebooks, instead use: >>> stanfordnlp.download('en', force=True)
>>> nlp = stanfordnlp.Pipeline() # This sets up a default neural pipeline in English
>>> doc = nlp("Barack Obama was born in Hawaii. He was elected president in 2008.")
>>> doc.sentences[0].print_dependencies()