An artificial neural network approach to automatic speech processing