The function f(x) applies to all sentences where the last word is a word that can be extracted.

Are there any other inputs you would like me to test or any further questions you have about the function?