private static boolean ignoreScript(@NotNull Character.UnicodeScript script) {
    return script == Character.UnicodeScript.COMMON || script == Character.UnicodeScript.INHERITED;
  }
private static boolean ignoreScript(@NotNull Character.UnicodeScript script)