Text this: Machine Learning-Based Fault Detection and Diagnosis in Synchronous Motors