pasta vs pastry

pasta

noun
  • Dough made from wheat and water and sometimes mixed with egg and formed into various shapes; often sold in dried form and typically boiled for eating. 

  • A dish or serving of pasta. 

  • A type of pasta. 

pastry

noun
  • The type of light flour-based dough used in pastries. 

  • The food group formed by the various kinds of pastries. 

  • A baked food item made from flour and fat pastes such as pie crust; also tarts, bear claws, napoleons, puff pastries, etc. 

  • Desserts of all kinds, whether or not these incorporate the baked item made from flour and fat, or that section of a kitchen that prepares these. 

  • The act or art of making pastry. 

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