code: public HasWord apply(HasWord w) {
      String str = w.word();
      String outStr = americanize(str, capitalizeTimex);
      if (!outStr.equals(str)) {
        w.setWord(outStr);
      }
      return w;
    }
docs: Americanize the HasWord or String coming in.
  
  @param w A HasWord or String to covert to American if needed.
  @return Either the input or an Americanized version of it.