def sonnetizer():
    title = sw()
    s = generate_sonnet(title)
    while plagiarized(s):
        title = sw()
        s = generate_sonnet(title)
    s = plagiarism_syn_replace(s)
    
    # start of original plagarism checker...
    
    #s = plagiarism_check(s)
    #line_count = len(s)
    #while line_count < len(rhyme_scheme):
    #    s = generate_sonnet(sw())
    #    s = plagarism_checker(s)
    #    line_count = len(s)
    #s = s[:len(rhyme_scheme)]
    
    # ...end of original plagarism checker
    
    s = end_words(s)
    
    if "natural" in rhyme_scheme:
        s = natural_breaks(s)
    else:
        s = rhymer(s)
        while s[-1][-1] in banned_end_words:
            s[-1] = s[-1][:-1]
    sonnet = []
    for i in range(len(s)):
        line = s[i]
        line = banned_word_combo_fixer(line)
        line = line + latex_lb
        sonnet.append(line)
    return [' '.join(title).upper(), '\n'.join(sonnet) + '\n' + latex_lb + '\n' + latex_lb]
dataset/ETHPy150Open rossgoodwin/sonnetizer/sonnetizer_n.py/sonnetizer/original