Handbook
Glossary
translate-tts ( text -- file )
Vocabulary
google
.
translate
Inputs
text
an
object
Outputs
file
an
object
Definition
USING:
http.download
io.files.temp
io.files.unique
kernel
urls
;
IN:
google.translate
:
translate-tts
( text -- file )
"https://translate.google.com/translate_tts?tl=en"
>url
swap
"q"
set-query-param
[
""
".mp3"
unique-file
download-as
]
with-temp-directory
;