add DuplicatedWords function in authors.py