Text this: Optimizing wastewater treatment through artificial intelligence