diff options
author | Christopher Manning <manning@cs.stanford.edu> | 2019-07-14 07:17:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-14 07:17:22 +0300 |
commit | 066eb48f334fb8032d0da8a0f53e7a41998d9ef0 (patch) | |
tree | 60c258cccc131a01eb4b1a10291630e564bacf39 /README.md | |
parent | 8050998fd46cd55d903f0a03bbcac9fcc5076060 (diff) |
editing last commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |