Class: Roseflow::Tokenizer
- Inherits:
-
Object
- Object
- Roseflow::Tokenizer
- Defined in:
- lib/roseflow/tokenizer.rb
Instance Method Summary collapse
Instance Method Details
#decode(input) ⇒ Object
9 10 11 |
# File 'lib/roseflow/tokenizer.rb', line 9 def decode(input) raise NotImplementedError, "this class must be extended and the #decode method implemented" end |
#encode(input) ⇒ Object
5 6 7 |
# File 'lib/roseflow/tokenizer.rb', line 5 def encode(input) raise NotImplementedError, "this class must be extended and the #encode method implemented" end |