Retext parser utilities