Text this: Semi-supervised pipeline anomaly detection algorithm based on memory items and metric learning.