how to covert Speech to text

How to convert the Audio input to text output in embedded system.

I am using SAM4S controller. Please let me know  which  way can proceed further to implement.