Experts used a software technique called text mining to pore over details of commodity movements between Britain and Ceylon, which became modern-day Sri Lanka