gensim.corpora.SvmLightCorpus.line2doc

SvmLightCorpus.line2doc(line)[source]

Create a document from a single line (string) in SVMlight format