Text this: Anomaly Detection and its Adaptation : Studies on Cyber-Physical Systems