Wolfram Language

Find Locations in Text

Many entities (cities, countries, etc.) can be located on a map. TextCases allows you to find all these entities at once.

Take the Wikipedia article about rice.

Find all entities that can be pinpointed to a location.

Visualize the locations identified and their frequency in the text.

Show the number of mentions of each continent and country.

Related Examples

de es fr ja pt-br zh