Automatically categorize task labels