Text this: Inspection of railway catenary systems using machine learning with domain knowledge integration