trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

qdap package is useless! #255

Open abelard68 opened 5 years ago

abelard68 commented 5 years ago

Every time I try to use the polarity function I get the following error Error in derive_pubkey(key)

Tried all the reported approaches and doesn´t help.

Please correct the issue or simply "exterminate" this piece of zgarbage

trinker commented 5 years ago

I can understand you are fustrated but you haven't provided a reproducible example.

abelard68 commented 5 years ago

Sorry, I was over the top, it's unforgivable, but after seeing that thread https://github.com/trinker/qdap/issues/253, with more than a month time had still no anwer.

My problem is similar, I´m doing text mining in portuguese and need to customize the dictionaires, and that seems simply impossible.

Once again, I´m sorry for my rudeness

trinker commented 5 years ago

Can you try the sentimentr package. It is a spinoff of qdap (qdap's polarity function will be dropped from qdap soon and replaced with sentimentr version/import.

https://github.com/trinker/sentimentr

The user interface should be very similar. The as_key function would allow you to make/alter a custom dictionary: https://github.com/trinker/sentimentr/blob/master/R/as_key.R

The previous posting you link to isn't minimal (it involves twitter API which makes it more difficult to check an issue). If you post with a minimal example that uses dput rather than requiring the twitter api package it will mean a faster response time.