"Location" (Text Content Type)
Text identified as an entity that can be pinpointed to a location in a text.
- "Location" can be used in TextCases, TextPosition and TextContents.
- "Location" corresponds to any mention of an entity that can be pinpointed to a location, such as cities, countries, mountains, buildings, etc.
- TextCases[…,"Location""Interpretation"] attempts to return a GeoPosition object.
- The only difference between "Location" and "LocationEntity" is that the latter returns Entity[…] instead of GeoPosition[…] for the property "Interpretation".
Basic Examples (2)
Find all entities with a location in a text:
Get the locations of these entities:
When the location of an entity in unknown, the original string is returned instead of a GeoPosition object:
Entities with an unknown location can be filtered out using option VerifyInterpretation: