adding code working through the http://radimrehurek.com/gensim/tutorial.html