Class: Classified::Base
- Inherits:
-
Object
- Object
- Classified::Base
- Defined in:
- lib/classifiers/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
-
#transform(text) ⇒ Object
This is used to convert the classifications used by the tests into a format compatible with the classifier.
Constructor Details
#initialize ⇒ Base
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 |