Consider definitions in the yarn_word_score function