joke vs raillery

joke

noun
  • A laughably worthless thing or person; a sham. 

  • An amusing story. 

  • The root cause or main issue, especially an unexpected one 

  • Something that is far easier or far less challenging than expected. 

  • Something said or done for amusement, not in seriousness. 

verb
  • To do or say something for amusement rather than seriously. 

  • To dupe in a friendly manner for amusement; to mess with, play with. 

raillery

noun
  • Good-natured banter, jest, or ridicule. 

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