jasperproject / jasper-client

Client code for Jasper voice computing platform
MIT License
4.52k stars 1.01k forks source link

Nest module #585

Open diegodeodati opened 7 years ago

diegodeodati commented 7 years ago

Hi every one, if i want to develop an module for set the temperature inside my home throw nest of google ...how i can give the right command with jasper?

I would to know how i can pass an command like this:

"Jasper" "Set temperature to 22c to home"

after i define "set temperature" how i can give the right temperature?

Thanks

G10DRAS commented 7 years ago

You can pass transcribed text to your custom module and then use regex for parsing/extracting temprature from it.

But when you write your regex for parsing the transcribed text, keep in mind that not all STT Engine returns similar transcribed text.

See following examples Google STT -> SET TEMPERATURE TO 22 DEGREE CELSIUS TO HOME WitAi STT -> SET TEMPERATURE TO TWENTY TWO DEGREES CELSIUS TO HOME

GoogleSTT Engine returns digit 22 while WitAi returns TWENTY TWO.

diegodeodati commented 7 years ago

Ok, but now the problem is Jasper on Raspberry Pi zero... u know if is possible to install on it ?

G10DRAS commented 7 years ago

That's the separate topic.

diegodeodati commented 7 years ago

Do u have any idea about the installation of jasper on raspberry pizero?