Created
July 10, 2019 12:15
-
-
Save kylebgorman/6737cbffa9246afa1ee28fc33903b846 to your computer and use it in GitHub Desktop.
Applies Unicode case folding to input data
This file contains hidden or 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
#!/usr/bin/env python | |
import fileinput | |
import nltk | |
if __name__ == "__main__": | |
for line in fileinput.input(): | |
print(line.rstrip().casefold()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment