Text this: Anomaly detection with applications in environmental and cyber security