79134577

Date: 2024-10-28 17:59:43
Score: 0.5
Natty:
Report link

You should count each target word per month rather than returning the count of file IDs. Like this,

cfd = ConditionalFreqDist(
    (month, word)
    for month, word_counts in monthly_word_counts.items()
    for word, count in word_counts.items()
    for _ in range(count)
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Busra Ecem Sakar