For this project we are going to use PocketSphinx. It's a lightweight version of CMU Sphinx, a project created by Carnegie Mellon University. It's a lightweight speech recognition engine meant for mobile and handheld devices and wearables. The greatest advantage of using this over any cloud-based service is that it is available offline.
More information about PocketSphinx can be accessed from the following links:
http://cmusphinx.sourceforge.net/wiki/develop
https://github.com/cmusphinx/pocketsphinx
Setting up the library will be discussed in a later section of this chapter.