eroticism vs homosexuality

eroticism

noun
  • the state of being erotic, or of being sexually aroused 

  • sexual excitement, especially if abnormally persistent 

homosexuality

noun
  • The state of being sexually attracted primarily or exclusively to persons of the same sex, sometimes (potentially offensive) restricted to same-sex attraction between males. 

  • Sexual activity with a person of the same sex, sometimes (potentially offensive) restricted to same-sex sex between males. 

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