Text this: Technological diffusion through trade and imitation