Text this: Optimization of coded signals based on wavelet neural network