Method: Dictionary::KL#initialize

Defined in:
lib/rbbt/bow/dictionary.rb

#initialize(options = {}) ⇒ KL

Returns a new instance of KL.



117
118
119
120
# File 'lib/rbbt/bow/dictionary.rb', line 117

def initialize(options = {})
  @pos_dict = Dictionary::TF_IDF.new(options)
  @neg_dict = Dictionary::TF_IDF.new(options)
end