public @Nullable String singular(@Nullable String word) {
    return restoreCase(word, replaceWord(word, irregularPlurals, irregularSingles, singularRules));
  }
public @Nullable String singular(@Nullable String word)