Skip to content

GeoTax classification

Try it live

The classification resources corresponding to the geotax taxonomy classify texts according to the names of the countries mentioned directly or indirectly. An example of indirect mention is the name of a city or that of a geographical feature. For example:

  • England → direct mention
  • London → city, indirect mention of England
  • Thames → river, indirect mention of England

Use the self-documentation resources to get a list of the recognized countries.

In the case of the US and UK, both the state/country and the federation/kingdom are returned. For example, in the case of this text:

Chicago is the birthplace of many celebrities such as Walt Disney.

Both Illinois and United States of America are returned.

The same resources, when requested with a specific query-string parameter, also return countries' information as GeoJSON data.