
reaktor
Good evening, I don't know if it's possible,
I use a SARAH framework with plugins with a Dictionnary plugin that parse my answer. It works perfectly and I get my answer. I created a script that I named dico that I would like to launch with an HTTP request and a ControlCommand. Code:
$VoiceStart = "<prosody pitch='+10%' rate='-5%' range='+5%' contour='(0%,+30Hz) (10%,-2st) (40%,+10Hz)'> "
$VoiceEnd = "</prosody>"
$search = "voiture"
$SynbotTextResponse = HTTPget("http://127.0.0.1:8080/SARAH/dictionary?text="+$search)
SayWait($VoiceStart +$SynbotTextResponse+ $VoiceEnd)
But here is my question:
You will understand, instead of voiture I would like to put the object of my research $search = "voiture"
http://192.168.1.78/exec?password=admin&script=ControlCommand("dico".........search("mysearch")
Is it possible?
Another thing and it's important, I always have a problem with the accents in my answers. Is an update planned?
[url=https://synthiam.com/Question/3771][size=2][font=Verdana, Arial, Helvetica, sans-serif]see here[/font][/size]
Thanks
Code:
Now I will be able to parse all my sites that I wish (dico, wikipedia, weather ...) with my framework.
But I have always problem with the accents, it's impossible to use this (for the time being?).
Here I have my accents in my answer.
mécanisme automatique capable d'exécuter certaines tâches selon un programme fixe ou modifiable
But in synbot the accents are not present and the answer is unusable.
mcanisme automatique capable d'excuter certaines tches selon un programme fixe ou modifiable
[color=#442e5f][size=3][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"][b]@DJ [/b]I specify that the site dictionary.reverso.net is in UTF-8,
my plugin gives the answer in UTF-8 with all the accents.
Code:
I did the tests on 2 PCs and others ARC skill plugins (pandorabot, synbot,...)
Code: