Class: Classified::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/classifiers/base.rb

Direct Known Subclasses

Ankusa, ClassifierBayes, ClassifierLSI, Hoatzin

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



3
4
# File 'lib/classifiers/base.rb', line 3

def initialize
end

Instance Method Details

#transform(text) ⇒ Object

This is used to convert the classifications used by the tests into a format compatible with the classifier



8
9
10
# File 'lib/classifiers/base.rb', line 8

def transform(text)
  text
end