compiler vs translator

compiler

noun
  • A computer program which transforms source code into object code. 

  • One who compiles. 

translator

noun
  • A computer program that translates something from one language to another using machine translation. 

  • A person who converts speech, text, film, or other material into a different language. (Contrasted with interpreter.) 

  • One that makes a new version of a source material in a different language or format. 

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