Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Stanford NLP | Stanford NLP Python | Stanford NLP Tutorial

$
0
0

in the above mentioned link, after completing the execution of commands under the section “Using CoreNLP’s API for Text Analytics”, I’m trying to implement corenlp_setup.py file given as " a. Setting up the CoreNLPClient". the problem I’m encountering is, in line 12:

with CoreNLPClient(annotators=['tokenize','ssplit','pos','lemma','ner','depparse','coref'], timeout=30000, memory='16G') as client:

though in annotators list I have given just ‘tokenize’ option, i am receiving the output of all the annotators.

what I tried:
with CoreNLPClient(annotators=['tokenize'], timeout=30000, memory='16G') as client:

Am i doing something wrong?
please help and thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles