The function appears to be selective for words related to emotions, particularly negative or solemn emotions. Words with an association to these emotions receive higher values, while words unrelated to emotions or with positive emotional associations receive lower values.