GOOGLE along with tensorflow and AIY created a voice kit to make artificial intelligence familiar among DIY (do it yourself) hobbyists and researchers, made the voice kit open source.
About AIY: AIY Projects was launched in May to support do-it-yourself makers who want to tinker with AI. The initiative plans to launch a series of reference designs, and began with speech recognition and a smart speaker you can make in a cardboard box.
Here is the link, Voice kit
And the above link provides you the complete guide to make your own project.
The voice kit was made with raspberry pi.
To make this kit workable you have to cinfigure with google assistant.And the voice assistant has 135 pre recognized words like hello,stop,go etc.,also numbers and set of names.
Some models designed and tested by hobbyists were unable to recognize the local slangs.