Slight stylistic tweak to LSI initialisation.
Recommended-by: parkr
This commit is contained in:
parent
85f2dfffa6
commit
68333cd221
|
@ -163,7 +163,7 @@ module Jekyll
|
|||
if self.site.lsi
|
||||
self.class.lsi ||= begin
|
||||
puts "Starting the classifier..."
|
||||
lsi = Classifier::LSI.new :auto_rebuild => false
|
||||
lsi = Classifier::LSI.new(:auto_rebuild => false)
|
||||
$stdout.print(" Populating LSI... ");$stdout.flush
|
||||
posts.each { |x| $stdout.print(".");$stdout.flush;lsi.add_item(x) }
|
||||
$stdout.print("\n Rebuilding LSI index... ")
|
||||
|
|
Loading…
Reference in New Issue