generalized word removal