def write():
	sw1 = random.randint(0, len(w) - 50)
	sw2 = sw1 + 50
	starting_words = w[sw1:sw2]
	
	line_1 = content_model.generate(50, starting_words)
	line_1 = line_1[-50:]
	print ' '.join(line_1)
	line_1a = raw_input('> ')
	line_1a = nltk.word_tokenize(line_1a)
	
	line_2 = content_model.generate(50, line_1a)
	print ' '.join(line_2)
	line_2a = raw_input('> ')
	line_2a = nltk.word_tokenize(line_2a)
	
	line_3 = content_model.generate(50, line_2a)
	print ' '.join(line_3)
	print '_' * 10
	print ' '.join(rhyme_finder(line_1a[-1]))
	line_3a = raw_input('> ')
	line_3a = nltk.word_tokenize(line_3a)
	
	line_4 = content_model.generate(50, line_3a)
	print ' '.join(line_4)
	print '_' * 10
	print ' '.join(rhyme_finder(line_2a[-1]))
	line_4a = raw_input('> ')
	line_4a = nltk.word_tokenize(line_4a)
	
	line_5 = content_model.generate(50, line_4a)
	print ' '.join(line_5)
	line_5a = raw_input('> ')
	line_5a = nltk.word_tokenize(line_5a)
	
	line_6 = content_model.generate(50, line_5a)
	print ' '.join(line_6)
	line_6a = raw_input('> ')
	line_6a = nltk.word_tokenize(line_6a)
	
	line_7 = content_model.generate(50, line_6a)
	print ' '.join(line_7)
	print '_' * 10
	print ' '.join(rhyme_finder(line_5a[-1]))
	line_7a = raw_input('> ')
	line_7a = nltk.word_tokenize(line_7a)
	
	line_8 = content_model.generate(50, line_7a)
	print ' '.join(line_8)
	print '_' * 10
	print ' '.join(rhyme_finder(line_6a[-1]))
	line_8a = raw_input('> ')
	line_8a = nltk.word_tokenize(line_8a)
	
	line_9 = content_model.generate(50, line_8a)
	print ' '.join(line_9)
	line_9a = raw_input('> ')
	line_9a = nltk.word_tokenize(line_9a)
	
	line_10 = content_model.generate(50, line_9a)
	print ' '.join(line_10)
	line_10a = raw_input('> ')
	line_10a = nltk.word_tokenize(line_10a)
	
	line_11 = content_model.generate(50, line_10a)
	print ' '.join(line_11)
	print '_' * 10
	print ' '.join(rhyme_finder(line_9a[-1]))
	line_11a = raw_input('> ')
	line_11a = nltk.word_tokenize(line_11a)
	
	line_12 = content_model.generate(50, line_11a)
	print ' '.join(line_12)
	print '_' * 10
	print ' '.join(rhyme_finder(line_10a[-1]))
	line_12a = raw_input('> ')
	line_12a = nltk.word_tokenize(line_12a)
	
	line_13 = content_model.generate(50, line_12a)
	print ' '.join(line_13)
	line_13a = raw_input('> ')
	line_13a = nltk.word_tokenize(line_13a)
	
	line_14 = content_model.generate(50, line_13a)
	print ' '.join(line_14)
	print '_' * 10
	print ' '.join(rhyme_finder(line_13a[-1]))
	line_14a = raw_input('> ')
	line_14a = nltk.word_tokenize(line_14a)
	
	return [line_1a, line_2a, line_3a, line_4a, line_5a, line_6a, line_7a, line_8a,
                line_9a, line_10a, line_11a, line_12a, line_13a, line_14a]
dataset/ETHPy150Open rossgoodwin/sonnetizer/sonnetizer_a.py/write/original