Text this: Mining contacts from spatio-temporal trajectories