text generation from keywords python