0
$\begingroup$

My objective is to estimate differences between how five political parties use moral words in their tweets and speeches. To that end, I have a dictionary that I pass to each tweet text / audio transcription through regex (this is important because audio transcriptions are somewhat more noisy and I cannot use bag of words) and get the frequencies with which each moral value is mentioned. Afterwards, I will use Tukey HSD intervals to estimate differences between parties. Nevertheless, my biggest concern here is whether I should compare absolute or relative frequencies of words. Relative frequencies seem like the right choice, because they allow to know how much is each moral value being used controlling for text / audio length. But on the other hand, absolute differences are interesting (especially for the particular case of audios, which can be noisy and not fully capture the total length of the texts and audios according to whitespaces). Is there any guideline to follow here?

$\endgroup$
1
  • 1
    $\begingroup$ Welcome to DataScienceSE. I agree that relative freq seems a better option. The argument about noisy audio doesn't seem really strong to me: errors are going to impact absolute or relative frequency equally, afaik. $\endgroup$
    – Erwan
    Aug 5, 2022 at 12:42

1 Answer 1

0
$\begingroup$

Some point I can think of

  1. Find word similarity using gensim. your dictionary may not contain all words
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.