Compiles text into text-networks.