public @Nullable String transform(@Nullable String word) {
    if (word == null) return null;
    word = word.trim();
    if (word.length() < 3) {
      return null;
    }

    return StringUtil.toLowerCase(word);
  }
public @Nullable String transform(@Nullable String word)