Sentiment Analysis using senti_classifier and NLTK

后端 未结 2 965
醉话见心
醉话见心 2021-01-23 19:02

I\'m not doing something right -- By the looks of the error i\'m getting i think i\'m missing some data. I have all the prerequisites intalled for sentiment_classifier (https://

相关标签:
2条回答
  • 2021-01-23 19:30

    In:

    import inspect
    all_functions = inspect.getmembers(senti_classifier, inspect.isfunction)
    all_functions
    

    Out:

    []
    

    No functions in senti_classifier module.

    0 讨论(0)
  • 2021-01-23 19:37

    I figured it out: I didn't install the full package - i originally used pip but i had to install it like so:

    git clone https://github.com/kevincobain2000/sentiment_classifier
    cd sentiment_classifier
    python setup.py install
    

    works beautifully now.

    0 讨论(0)
提交回复
热议问题