Modify anonymizer fuction

Add generalization codes