Install Dependencies $ pip install googletrans Create a haiku print(haikugen( ["5", "syllable", "words"], ["7", "syllable", "words"] )) This is it! Import haiku from cloud link print(haikugen_cloud('sampleURL.com')) or a file: print(haikugen_local('xxx.txt')) in xxx.txt or sampleURL.com c = ["5","Syllable","Words"] d = ["7","syllable","words"] Transalate a haiku (in this one it transalates to chinese traditional) zh-cn is for chinese-simplified zh-tw is for chinese-traditional ja is for japanese ko is for korean c = [haiku_transalateTo('zh-tw','5'),haiku_transalateTo('zh-tw','syllable'),haiku_transalateTo('zh-tw','words')] d = [haiku_transalateTo('zh-tw','7'),haiku_transalateTo('zh-tw','syllable'),haiku_transalateTo('zh-tw','words')] Whole thing is opensource. Edit haiku-gen.py.