bnosac / pattern.nlp

R package to perform sentiment analysis and Parts of Speech tagging for Dutch/French/English/German/Spanish/Italian
Other
67 stars 17 forks source link

Error in pyExec #7

Closed heinbakker closed 5 years ago

heinbakker commented 6 years ago

After installing I tried to test the code with the example text:

library(pattern.nlp) pattern_sentiment("i really really hate iphones", language = "english")

But then I get the following error:

Error in pyExec(sprintf("senti = %s(%s)", FUN, pyobj)) : Traceback (most recent call last): File "", line 1, in NameError: name 'sentiment_en' is not defined

What could be wrong and how could I try to fix it?

isathish commented 6 years ago

i am also facing same issue

jwijffels commented 5 years ago

Closing. Follow the installation instructions in the README.

hack-r commented 5 years ago

@jwijffels This issue is coming up for me as a sub-issue of Issue #9 . I've done everything in the README.