diff options
author | Yuhao Zhang <zyh@stanford.edu> | 2019-03-15 04:40:22 +0300 |
---|---|---|
committer | Yuhao Zhang <zyh@stanford.edu> | 2019-03-15 04:40:22 +0300 |
commit | 0337aee837c4065cb7b8ca47d8a94f90ded6b365 (patch) | |
tree | 830c9950942a7f4dcf4f198cc8c4cade03ef9723 /demo | |
parent | c7d27a72233468c764eb4bad658330b3e552d795 (diff) |
Increase timeout for demo
Diffstat (limited to 'demo')
-rw-r--r-- | demo/corenlp.py | 2 |
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) |