Skip to content

Instantly share code, notes, and snippets.

@mbednarski
Created February 26, 2018 20:16
Show Gist options
  • Save mbednarski/3c3c269944ad22a0b40c3aa956dd9ab9 to your computer and use it in GitHub Desktop.
Save mbednarski/3c3c269944ad22a0b40c3aa956dd9ab9 to your computer and use it in GitHub Desktop.
def tokenize_corpus(corpus):
tokens = [x.split() for x in corpus]
return tokens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment