Text this: Automated stream analysis for process control