Corpus in Excel file

36 views
Skip to first unread message

Lanny

unread,
May 9, 2012, 2:50:34 PM5/9/12
to gensim
I am wondering if/how to import text collection from an Excel 2010
file, where one column is the text field. The basic structure of the
Excel file looks like this:

Date/Time Sender Recipient Message

Thanks, may just need to copy into a text file?

Radim Řehůřek

unread,
May 9, 2012, 3:39:15 PM5/9/12
to gensim
Hi Lanny,

export the file into CSV format. That's basically a text format, and
Python has a cool built-in library for handling such files (called
"csv").

HTH,
Radim
Reply all
Reply to author
Forward
0 new messages