purport to be vs set oneself up as

purport to be

set oneself up as

How often have the words purport to be and set oneself up as occurred in a corpus of books? (source: Google Ngram Viewer )