Last active
January 17, 2022 20:50
-
-
Save eileen-code4fun/068db67a7a72326455fc0d1012a716d7 to your computer and use it in GitHub Desktop.
nlp_ower
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
def lower(txt): | |
return txt.lower() | |
train = preprocess(train_dataset, lower) | |
test = preprocess(test_dataset, lower) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment