Many applications require geographic information, but extracting it from text is difficult. mordecai is a Python library for full text geoparsing that extracts the place names from a piece of text, resolves them to the correct place, and returns their coordinates and structured geographic information.