Questions tagged [dictionary]

2 questions
1
vote
1 answer

Dictionary-based text analysis- dealing with length

I am working on an analysis using a dictionary-based text-as-data approach. I have a dataset of texts (n=1200), and I am applying a dictionary of 50 words (I tokenize the text with each word being one token). The texts greatly vary in terms of…
-1
votes
1 answer

how to delete duplicate dictionaries in list of dictionaries and extract the values of dictionary?

delete duplicate dictionaries in list of dictionary and extract the values of dictionary id=842 mg=[ {"ss": 81, "rr": 842, "cd": 81}, {"ss": 842, "rr": 81, "cd": 81}, {"ss": 81, "rr": 842, "cd": 81}, …
user10296606
  • 1,784
  • 5
  • 17
  • 31