class Ajuga::TranslationBackend::Yandex

Defined in:

ajuga/translation_backends/yandex.cr

Constant Summary

APIKEY = "trnsl.1.1.20200411T205004Z.8c50bce2e759de2f.63f7f41d139b43bf0c2a3db8f2af8eb9b18b453d"

Instance Method Summary

Instance methods inherited from class Ajuga::TranslationBackend

description : String description, directions : Array(Tuple(Language, Language)) directions, finish finish, name : String name, prepare prepare, translate(source : Language, target : Language, text : String) : String translate

Constructor methods inherited from class Ajuga::TranslationBackend

[](name : String) : TranslationBackend []

Class methods inherited from class Ajuga::TranslationBackend

<<(backend : TranslationBackend) <<, []?(name : String) : TranslationBackend | Nil []?, all : Array(TranslationBackend) all

Instance Method Detail

def description : String #

[View source]
def directions : Array(Tuple(Language, Language)) #

[View source]
def finish #

[View source]
def name : String #

[View source]
def prepare #

[View source]
def translate(source : Language, target : Language, text : String) : String #

[View source]