embed vs ingrain

embed

verb
  • To include (something) in surrounding matter. 

  • To encapsulate within another document or data file. 

  • To define a one-to-one function from one set to another so that certain properties of the domain are preserved when considering the image as a subset of the codomain. 

  • To lay (something) as in a bed; to lay in surrounding matter; to bed. 

noun
  • An element of an advertisement, etc. serving as a subliminal message. 

  • An embedded reporter or journalist, such as a war reporter assigned to and travelling with a military unit, or a political reporter assigned to follow and report on the campaign of a candidate. 

  • An item embedded in another document. 

ingrain

verb
  • To make (something) deeply part of something else. 

  • To dye with a fast or lasting colour. 

noun
  • An ingrain fabric, such as a carpet. 

adj
  • Dyed with grain, or kermes. 

  • Dyed before manufacture; said of the material of a textile fabric; hence, in general, thoroughly inwrought; forming an essential part of the substance. 

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