Forked : https://github.com/Ultchad/kalliope_neuron_translate
Neuron to translate sentence with google API
kalliope install --git-url https://github.com/leyaX/kalliope_neuron_translate
parameter | required | default | choices | comments |
---|---|---|---|---|
lang_out | yes | E.g: "en", "fr", "Spanish", "Français" | Language to translate sentence: langage code ("en") or language name ("Spanish") | |
lang_in | no | auto | E.g: "auto", "en", "fr" | Language of original sentence: "auto" for automatique detection or lang code |
sentence | yes | Sentence translate |
Langage support and ISO-639-1 Code
Name | Description | Type | sample |
---|---|---|---|
result | Result of translation | string | "Buenas noches" |
lang_in | lang id in | string | "en" |
lang_out | lang id out | string | "es" |
- name: "translate-es"
signals:
- order: "translate {{sentence}} in Spanish"
neurons:
- translate:
lang_in: "fr"
lang_out: "es"
sentence: "{{sentence}}"
say_template:
- "{{ result }}"
tts:
pico2wave:
language: "es-ES"
cache: False