How we approached document intelligence for the maritime industry — from messy PDFs to structured data.