Text this: A criteria based function for reconstructing low-sampling trajectories as a tool for analytics