From 9f9dfc9b0c66ad34d0416ba26a784db9d413ed9f Mon Sep 17 00:00:00 2001 From: Jaiden Mispy Date: Wed, 11 Mar 2015 02:41:18 -0700 Subject: [PATCH] Add warning when consuming a plaintext corpus --- lib/twitter_ebooks/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/twitter_ebooks/model.rb b/lib/twitter_ebooks/model.rb index 7213d79..b3bbb13 100644 --- a/lib/twitter_ebooks/model.rb +++ b/lib/twitter_ebooks/model.rb @@ -118,7 +118,7 @@ module Ebooks 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