Few-shot Anomaly Detection in Text with Deviation Learning