emulate vs pattern oneself on

emulate

verb
  • To copy or imitate, especially a person. 

  • of a program or device: to imitate another program or device 

pattern oneself on

How often have the words emulate and pattern oneself on occurred in a corpus of books? (source: Google Ngram Viewer )