Created
July 23, 2013 12:33
-
-
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
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
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