The domain of this function appears to be undefined for the words tested. It is possible that the function f(x) has a limited domain or is meant to be used with specific types of words not covered in the experiments.