Word sorting script in Python.

Sorts words into web definitions and primary definitions.