class Google::Translate
- Google::Translate
- Reference
- Object
Included Modules
Defined in:
translate/detection_result.crtranslate/translate.cr
translate/translation_result.cr
Constant Summary
-
TRANSLATE_URI =
URI.parse("https://translate.googleapis.com")
Constructors
Instance Method Summary
- #detect_language(text : String | Array(String))
- #languages(target : String = "en", model : String | Nil = nil)
- #translate(text : String | Array(String), to target : String, from source : String | Nil = nil, format : String = "text", model : String = "nmt")
Constructor Detail
Instance Method Detail
def translate(text : String | Array(String), to target : String, from source : String | Nil = nil, format : String = "text", model : String = "nmt")
#