hermaphroditism vs homosexuality

hermaphroditism

noun
  • The state of having sexual organs of both the male and female sexes. 

homosexuality

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

  • 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. 

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