TromboneDavies / PolarOps

0 stars 0 forks source link

Look at Purpletag #37

Closed divilian closed 3 years ago

divilian commented 3 years ago

Find the Python code for "Purpletag" (referenced in Hemphill 2016) and download it and play around with it. Could it be applied to Reddit threads instead of to Congresspeople? (And is it only for hashtags, or does it also do text?)

akochans commented 3 years ago

from README.md https:// github.com/casmlab/purpletag/releases/tag/v1.0. doi:10.5281/zenodo.53888

Considering the score, the thing that tells us either polarized or not polarized, is based specifically on hashtags according to the README.md, I am not quite sure how we would use this. The score is based on how correlated a given hashtag is with a party when we already have the knowledge of each MOC's party alignment.

divilian commented 3 years ago

Good job, @akochans. I think we can file this away for now then. One possible way this could resurface is in using a Yang 2016 style approach for identifying "keywords" (non-hashtag words that are nevertheless highly correlated with certain labels; essentially, a culled version of the mostInformativeWords) and then using something like Purpletag on those not-hashtags-but-sort-of-behaving-like-hashtags words.

Putting to sleep for now.