def plagiarized(sonnet):
    for i in range(len(sonnet)-1):
        if any(sonnet[i] + sonnet[i+1] == vw[j:j+len(sonnet[i])+len(sonnet[i+1])] for j in xrange(len(sonnet[i]) - len(sonnet[i+1]) + 1 - len(vw))):
            plag = True
            break
        else:
            plag = False
    return plag
dataset/ETHPy150Open rossgoodwin/sonnetizer/sonnetizer_n.py/plagiarized/swapped operands of `-`