Text this: Reliability improvement of railway infrastructure