barrio vs locality

barrio

noun
  • A slum on the periphery of a major city; a low to middle-class neighborhood in a lesser city. 

  • A municipality or subdivision of a municipality. 

  • An area or neighborhood in a US city inhabited predominantly by Spanish-speakers or people of Hispanic origin. 

  • A barangay. 

locality

noun
  • A built-up area, i.e. a city, town or village 

  • Limitation to a county, district, or place. 

  • The fact or quality of having a position in space. 

  • An area or district considered as the site of certain activities; a neighbourhood. 

  • The features or surroundings of a particular place. 

  • The condition of being local. 

  • The situation or position of an object. 

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