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
path: root/demo
diff options
context:
space:
mode:
authorYuhao Zhang <zyh@stanford.edu>2019-03-15 04:40:22 +0300
committerYuhao Zhang <zyh@stanford.edu>2019-03-15 04:40:22 +0300
commit0337aee837c4065cb7b8ca47d8a94f90ded6b365 (patch)
tree830c9950942a7f4dcf4f198cc8c4cade03ef9723 /demo
parentc7d27a72233468c764eb4bad658330b3e552d795 (diff)
Increase timeout for demo
Diffstat (limited to 'demo')
-rw-r--r--demo/corenlp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/corenlp.py b/demo/corenlp.py
index e4e43130..15c908c6 100644
--- a/demo/corenlp.py
+++ b/demo/corenlp.py
@@ -14,7 +14,7 @@ print('---')
print('starting up Java Stanford CoreNLP Server...')
# set up the client
-with CoreNLPClient(annotators=['tokenize','ssplit','pos','lemma','ner','depparse','coref'], timeout=30000, memory='16G') as client:
+with CoreNLPClient(annotators=['tokenize','ssplit','pos','lemma','ner','depparse','coref'], timeout=60000, memory='16G') as client:
# submit the request to the server
ann = client.annotate(text)