locality vs neighborhood

locality

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

  • Limitation to a county, district, or place. 

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

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

  • The features or surroundings of a particular place. 

  • The condition of being local. 

  • The situation or position of an object. 

neighborhood

noun
  • A formal or informal division of a municipality or region. 

  • The set of all the vertices adjacent to a given vertex. 

  • The residential area near one's home. 

  • The inhabitants of a residential area. 

  • A set containing an open ball which contains a specified point. 

  • The infinitesimal open set of all points that may be reached directly from a given point. 

  • An approximate amount. 

  • The quality of physical proximity. 

  • A set containing an open set which contains some specified point. 

  • Alternatively: An open ball which contains some specified point. 

  • Alternatively: An open set which contains some specified point. 

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