Add GetHOCRText API method