Text this: Constrained Dynamic Time Warping and Polyline Distance for Anomaly Detection in Semiconductor Manufacturing.