docs: public Set<String> allVariants(boolean compressWhitespace) {
          if (!compressWhitespace) {
              return new HashSet<>(variants);
          }
          Set<String> compressed = new HashSet<>();
          for (String variant : variants) {
              compressed.add(variant.replaceAll("\\s{2,}", " "));
          }
          return compressed;
      }