<prompt> Translate the following text to SwahiliIn the era of the Tokugawa shoguns, the canals were used to carry rice and grain in barges for onward shipment to the great markets of Osaka and Edo.  <response>: Wakati wa utawala wa shogun wa Tokugawa, mifereji hiyo ilitumiwa kubeba mchele na nafaka kwa mashua ili kuipeleka kwenye masoko makubwa ya Osaka na Edo. 