Class: Topical::Labelers::Base
- Inherits:
-
Object
- Object
- Topical::Labelers::Base
- Defined in:
- lib/topical/labelers/base.rb
Overview
Base class for topic labeling strategies
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#generate_label(topic) ⇒ Object
7 8 9 |
# File 'lib/topical/labelers/base.rb', line 7 def generate_label(topic) raise NotImplementedError, "Subclasses must implement generate_label" end |