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( = {}) @pos_dict = Dictionary::TF_IDF.new() @neg_dict = Dictionary::TF_IDF.new() end |