Diabolocom interview question

Create an api for speech recognition.