Text this: Learning of the user behavior structure based on the time granularity analysis model