mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 04:11:08 -05:00
Lengthy README
This commit is contained in:
@@ -38,10 +38,9 @@ module Ebooks
|
||||
shortname = filename.split('.')[0..-2].join('.')
|
||||
hash = Digest::MD5.hexdigest(File.read(path))
|
||||
|
||||
log "Consuming text corpus: #{filename}"
|
||||
outpath = File.join(APP_PATH, 'model', "#{shortname}.model")
|
||||
Model.consume(path).save(outpath)
|
||||
log "Corpus consumed"
|
||||
log "Corpus consumed to #{outpath}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user