The function is selective for words related to fictional characters and books, with a particular emphasis on the "Harry Potter" series.