Sha256: 5bbe6bb51b60b797b38a00d1bce91e4dc1dd74ff792d264a701f97d6894c8d7c

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

module Roseflow
  class Tokenizer
    def encode(input)
      raise NotImplementedError, "this class must be extended and the #encode method implemented"
    end

    def decode(input)
      raise NotImplementedError, "this class must be extended and the #decode method implemented"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roseflow-0.1.0 lib/roseflow/tokenizer.rb