bowdlerize vs sanitize

bowdlerize

verb
  • To remove or alter those parts of a text considered offensive, vulgar, or otherwise unseemly. 

sanitize

verb
  • To make something, such as a dramatic work, more acceptable by removing potentially offensive material. 

  • To remove sensitive or personal data from (a database or file). 

  • To filter (text) to ensure it does not contain any characters that will cause problems for or be interpreted in an adverse way by the receiving system. 

  • To revise (a document) in order to prevent identification of the sources. 

  • To rid of microorganisms by cleaning or disinfecting. 

  • Near-synonym: bowdlerize 

How often have the words bowdlerize and sanitize occurred in a corpus of books? (source: Google Ngram Viewer )