-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Interpreter Types
- Location
- ComputedLocation
- GeoCoordinates
-
- Text Contents
- Location
- AdministrativeDivision
- Airport
- AmusementPark
- AmusementParkRide
- AstronomicalObservatory
- Beach
- Bridge
- Building
- Canal
- Castle
- Cave
- Cemetery
- City
- Country
- Dam
- DeepSpaceProbe
- Desert
- EarthImpact
- Forest
- GeographicRegion
- HistoricalCountry
- HistoricalSite
- Island
- Lake
- LibraryBranch
- LibrarySystem
- MetropolitanArea
- Mine
- Mountain
- Museum
- Neighborhood
- NuclearExplosion
- NuclearReactor
- NuclearTestSite
- Ocean
- OilField
- Park
- ParticleAccelerator
- PrivateSchool
- PublicSchool
- Reef
- ReserveLand
- SchoolDistrict
- Shipwreck
- SolarSystemFeature
- Stadium
- Tunnel
- UnderseaFeature
- University
- USCongressionalDistrict
- Volcano
- Waterfall
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Interpreter Types
- Location
- ComputedLocation
- GeoCoordinates
-
- Text Contents
- Location
- AdministrativeDivision
- Airport
- AmusementPark
- AmusementParkRide
- AstronomicalObservatory
- Beach
- Bridge
- Building
- Canal
- Castle
- Cave
- Cemetery
- City
- Country
- Dam
- DeepSpaceProbe
- Desert
- EarthImpact
- Forest
- GeographicRegion
- HistoricalCountry
- HistoricalSite
- Island
- Lake
- LibraryBranch
- LibrarySystem
- MetropolitanArea
- Mine
- Mountain
- Museum
- Neighborhood
- NuclearExplosion
- NuclearReactor
- NuclearTestSite
- Ocean
- OilField
- Park
- ParticleAccelerator
- PrivateSchool
- PublicSchool
- Reef
- ReserveLand
- SchoolDistrict
- Shipwreck
- SolarSystemFeature
- Stadium
- Tunnel
- UnderseaFeature
- University
- USCongressionalDistrict
- Volcano
- Waterfall
- Related Guides
-
See Also
"LocationEntity" (Text Content Type)
Details
- "LocationEntity" can be used in TextCases, TextPosition and TextContents.
- "LocationEntity" corresponds to any mention of an entity that can be pinpointed to a location, such as cities, countries, mountains, buildings, etc.
- TextCases[…,"LocationEntity""Interpretation"] attempts to return a Entity object.
- The only difference between "LocationEntity" and "Location" is that the latter returns GeoPosition[…] instead of Entity[…] for the property "Interpretation".
Examples
Basic Examples (2)
Find all entities with a location in a text:
TextCases["The Sagrada Familia is a famous cathedral in Barcelona, in Spain", "LocationEntity"]Get the locations of these entities:
TextCases["The Sagrada Familia is a famous cathedral in Barcelona, in Spain", "LocationEntity" -> "Interpretation"]Get properties about occurrences of entities that can be pinpointed to a location in a text:
TextContents["Belgium, France, Italy, Luxembourg, the Netherlands, and West Germany were the first states of the European Union", "LocationEntity", All]See Also
TextCases TextPosition TextSentences Containing
Interpreter Types: Location ComputedLocation GeoCoordinates
Text Contents: Location AdministrativeDivision Airport AmusementPark AmusementParkRide AstronomicalObservatory Beach Bridge Building Canal Castle Cave Cemetery City Country Dam DeepSpaceProbe Desert EarthImpact Forest GeographicRegion HistoricalCountry HistoricalSite Island Lake LibraryBranch LibrarySystem MetropolitanArea Mine Mountain Museum Neighborhood NuclearExplosion NuclearReactor NuclearTestSite Ocean OilField Park ParticleAccelerator PrivateSchool PublicSchool Reef ReserveLand SchoolDistrict Shipwreck SolarSystemFeature Stadium Tunnel UnderseaFeature University USCongressionalDistrict Volcano Waterfall