# File lib/classifier/bayes.rb, line 11 def initialize(*categories) @categories = Hash.new categories.each { |category| @categories[category.prepare_category_name] = Hash.new } @total_words = 0 end