# File lib/classifier/bayes.rb, line 80 def classify(text) (classifications(text).sort_by { |a| -a[1] })[0][0] end