Text this: A high-precision edge detection technique for magnetic anomaly signals based on a self-attention mechanism