Text this: Optimization strategies for real-time energy management of electric vehicles based on LSTM network learning