A study of wavelets artificial neural networks and their applications in signal and natural language processing