How to count tokens in dictionary values and replace each occurrence with items from a list

后端 未结 0 1399
盖世英雄少女心
盖世英雄少女心 2020-12-13 05:17

I have a list of dictionaries something like this (x300 comments):

data=[{\'comment\': \'I nominate @Joe Smith and @Sara Jones\'}, {\'comment\': \'@Dean Gordo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题