Place & Location Extraction
Identify geographic entities in text including cities, countries, regions, addresses, and landmarks. Essential for geo-tagging content, building location-aware applications, and analyzing regional trends.
Key Points
- Extract cities, countries, states, and regions
- Identify landmarks, addresses, and geographic features
- Support for both formal and colloquial place names
- Useful for content geo-tagging and location analytics
- Handles abbreviations and alternate spellings
Example
bash
curl -X POST https://api.entity-detector.com/v1/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "The conference was held in San Francisco, CA near the Golden Gate Bridge."}'
# Response:
# {"entities": {"locations": ["San Francisco", "CA", "Golden Gate Bridge"]}}Frequently Asked Questions
Can it distinguish between different types of locations?
The API identifies locations as a general category. For more granular classification (city vs. country vs. landmark), consider post-processing the results or using additional geocoding services.
How does it handle location ambiguity?
Some place names are ambiguous (e.g., "Paris" could be France or Texas). The API extracts the mention but does not disambiguate. Use context or geocoding for resolution.
Try Entity Extraction Now
See entity extraction in action with our interactive demo or start building with the API.