我有这样的文字:
text = "All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood."
如何编写一个函数 hedging(text) 来处理我的文本并生成一个新版本,在文本的每三个单词中插入单词“like”?
结果应该是这样的:
text2 = "All human beings like are born free like and equal in like..."
谢谢!