Text this: Intelligent device for diagnosis of dam's condition