-
-
Save itsbth/1e5bddc4c049c2d41da0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sys import stdin | |
from collections import Counter | |
from re import findall | |
words = Counter(findall("(\\w+(?:'\\w+)?)", stdin.read())) | |
print(words) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment