Find the value of words
word_score(x)
x
A vector of character strings
An integer vector
word_score(c("infinite", "monkey", "cage"))