nltk - Using Stanford nlp's sentiment engine with python parser? -
i working on project planning use stanford's sentiment analysis model sentiment analysis.
i have tried nltk's stanford parser couldn't sentiment analysis module in it. can point me module, , if possible give working example. if not nltk there other wrapper should looking into.
any answer working example great.
(from same question here )
i facing same problem : maybe solution stanford_corenlp_py uses py4j
pointed out @roopalgarg.
stanford_corenlp_py
this repo provides python interface calling "sentiment" , "entitymentions" annotators of stanford's corenlp java package, current of v. 3.5.1. uses py4j interact jvm; such, in order run script scripts/rungateway.py, must first compile , run java classes creating jvm gateway.
Comments
Post a Comment