new function to anonymize wiki text