Method: Forematter::Commands::Suggest#run
- Defined in:
- lib/forematter/commands/suggest.rb
#run ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/forematter/commands/suggest.rb', line 13 def run load_classifier # Seed LSI index files_with(field).each { |file| seed_index(file) } # This takes days: puts 'Building index... eesh' lsi.build_index puts "And we're done!" files.each { |file| get_recs(file) } end |