Last active
February 26, 2018 20:17
-
-
Save mbednarski/a6522978b59cda771e088eacf26a6c93 to your computer and use it in GitHub Desktop.
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 tokenize_corpus(corpus): | |
| tokens = [x.split() for x in corpus] | |
| return tokens | |
| tokenized_corpus = tokenize_corpus(corpus) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment