Add explanitory comments to the new pdf_parse_string function