lib/twitter_ebooks/model.rb in twitter_ebooks-3.0.8 vs lib/twitter_ebooks/model.rb in twitter_ebooks-3.0.9
- old
+ new
@@ -116,10 +116,10 @@
text_col = header.index('text')
lines = content.map do |tweet|
tweet[text_col]
end
else
- log "Reading plaintext corpus from #{path}"
+ log "Reading plaintext corpus from #{path} (if this is a json or csv file, please rename the file with an extension and reconsume)"
lines = content.split("\n")
end
consume_lines(lines)
end