Looking for a 'CITY, STATE' within a body of text (from a CITY-STATE database)
I'm looking for an optimal way to search a large body of text for a combination of words that resemble any CITY, STATE combination I have in a separate CITY-STATE database.
My only idea would be to do a separate search against the body of text for each CITY, STATE in the database, but that would require a lot of time considering the amount of CITY, STATE combinations the database has in it. The desired result from this query would be to pull a single CITY, STATE for each body of text I am analyzing to tell the geographical side of the story for this data subset.
Anyone know of an optimal way/process to do such a query?
Topic parsing data-indexing-techniques search databases
Category Data Science