How to extract location related terms from raw text in python
I fiund these two tools which can find geographical terms in a text file.
mordecai: Full text geoparsing as a Python library. Extract the place names from a piece of text, resolve them to the correct place, and return their coordinates and structured geographic information.

, and CLIFF-CLAVIN: CLIFF-CLAVIN parses news articles and pulls out people, organizations and places mentioned.