Removing avgp from text