Class: PolylingoChat::Translator::Base
- Inherits:
-
Object
- Object
- PolylingoChat::Translator::Base
show all
- Defined in:
- lib/polylingo_chat/translator/base.rb
Class Method Summary
collapse
Class Method Details
.detect_language(text) ⇒ Object
4
5
6
|
# File 'lib/polylingo_chat/translator/base.rb', line 4
def self.detect_language(text)
raise NotImplementedError
end
|
.translate(text:, from:, to:, context:) ⇒ Object
8
9
10
|
# File 'lib/polylingo_chat/translator/base.rb', line 8
def self.translate(text:, from:, to:, context:)
raise NotImplementedError
end
|