3 ms·
I ran a little code on this comment: >>> sorted({w: comment.split().count(w) for w in comment.split() if comment.split().count(w) > 1}.items(), key=lambda
by d33 5y ago
I ran a little code on this comment:
>>> sorted({w: comment.split().count(w) for w in comment.split() if comment.split().count(w) > 1}.items(), key=lambda x: -x[1])[:3]
[('I', 9), ('Hetzner', 7), ('that', 7)]
7 sentences, 7 occurrences of "Hetzner". It really does read like a CEO-optimized advertisement.
- freemint 5y agoDoing my best? Do you have some suggestions for rewordings? I am not a native speaker, so you are welcome.