Skip to content

Instantly share code, notes, and snippets.

@beauvais
Created July 23, 2013 12:33
Show Gist options
  • Save beauvais/6062030 to your computer and use it in GitHub Desktop.
Save beauvais/6062030 to your computer and use it in GitHub Desktop.
Need to turn this into a usable script to take twitter archive csvs and turn them into nltk corpora
import csv
with open('tweets.csv', 'rb') as source:
corpus = csv.reader(source, delimiter=' ')
for row in corpus:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment