Text this: Characterisation and modelling of pedestrian flows in hospital and academic environments