Speech recognition and text to speech
Until a fateful combination of machine learning, quantum computing, and 3D printing spawns tyrannical artificial lifeforms to rule over all mankind, we need to settle for semi-intelligent devices that we program by hand. An important piece of that puzzle is language processing.
In this recipe, we will use the OpenEars library to have our iOS device speak and recognize some basic English dialogue.