kaffir vs nigga

kaffir

noun
  • A black person. 

  • South African mining shares 

  • A member of the Nguni people of southern Africa, especially a Xhosa. 

  • A language spoken by the Nguni peoples of southern Africa, especially Xhosa. 

  • In Islamic contexts, a non-Muslim. 

nigga

noun
  • A black person (usually male), especially an African American. 

  • A male as opposed to a female. 

  • A close and loyal friend. 

  • Any person, though chiefly male. 

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