Text this: Gradient purification federated adaptive learning algorithm for Byzantine attack resistance