Text this: Estimation of time delay functions for design of traffic systems