Text this: Anomaly detection and defense techniques in federated learning