bobvdvelde / SentiStrength_for_python

Sentistrength wrapper for python, including multicore implementation
11 stars 3 forks source link

Possible to add "Classification algorithm parameters" for instance "noDictionary" (implementation on German text)? #1

Open vicru opened 2 years ago

vicru commented 2 years ago

Hi, great library!

Is it possible (and how) to addthe above-mentioned commandline parameters on your SentiStrength_for_python? The author of the Java library suggested that in order to implement SentiStrength on German text, I should add the following command line parameters: noDictionary, negatingWordsOccurAfterSentiment and negatingWordsOccurAfterSentiment. The 2018 list of command line options for the Java version lists the above-mentioned as Classification algorithm parameters.

I would appreciate any feedback in this respect.

bobvdvelde commented 2 years ago

Hi @vicru ,

Thanks for the feedback!

I'll be honest: I haven't been using this module for years now.

I think the main change would be to pass these arguments when instantiating the java process(es). It would take some time to do it correctly and test it though.

Any chance of you implementing it and doing a pull request? I'm a bit strapped for time and I'm not sure how actively this module is still being used as many people have shifted to other sentiment classification algorithms such as transformer based models (see for instance the popular huggingface guide to using transformers).