Complex sentence: In the 20th century the foregin capital was contribuing so much to Thailand's growth that manufactoring was increasing, but in contrast the agriculture sector was rapidly declining.
Split into simpler sentences: In the 20th century the foregin capital was contribuing so much to Thailand's growth that manufactoring was increasing. In contrast, the agriculture sector was rapidly declining.