title: Find location from text
body: <p>I am currently thinking of how to find a location from a text, such as a blogpost, without the user having to input any additional information. For example a post could look like this:</p>
  
  <hr>
  
  <p>"Aberdeen, With a Foot on the Seafloor</p>
  
  <p>Since the early 1970s, Aberdeen, Scotland, has evolved from a gritty fishing town into the world’s center of innovation in technology for the offshore energy industry."</p>
  
  <hr>
  
  <p>By reading it I realize that the post is about Aberdeen Scotland but how can I geotag it? I have been using the geocoder (<a href="https://github.com/alexreisner/geocoder" rel="nofollow">https://github.com/alexreisner/geocoder</a>) by Alex Reisner but it seems weird to check every word against the google/nominatim(osm). My initial idea was to simply bruteforce it by checking every word with the geocoder and try to see if there are similarities between the words. But it seems like there could be a better way around this.</p>
  
  <p>Has anyone done anything similar to this? Any algorithm that could be suggested (or gem :) ) would be immensely appreciated!</p>