A library for parsing tags from documents