Text this: Neural network approach of harmonics detection