repeated phrases in the text Python
问题 I have a problem and I have no idea how to solve it. Please, give a piece of advice. I have a text. Big, big text. The task is to find all the repeated phrases which lenght is 3(contain of three words) in the text. 回答1: You have, it seems to me, two problems. The first is coming up with an efficient way of normalizing the input. You say you want to find all of the three-word phrases in the input, but what constitutes a phrase? For instance, are the black dog and The black, dog? the same