Text this: Integrating machine learning for the sustainable development of smart cities