location-extractor helps you extract locations from text
pip install location-extractor
from location_extractor import extract_locations
text = "I arrived in New York on January 4, 1937"
locations = extract_locations(text)
Languages Supported |
---|
Arabic |
English |
To test the package run
python -m unittest location_extractor.tests.test