Text this: Diagnosis and prognosis of bearing failure in rotating machinery using acoustic emission and artificial neural network