localisms vs sociolect

localisms

sociolect

noun
  • The variant of language used by a social group such as a socioeconomic class, an ethnic group, an age group, etc. 

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