class DhaNoBeirtData {

  private static final Set<String> daoine = loadWords("/ga/people.txt");

  private DhaNoBeirtData() {
  }

  static Set<String> getDaoine() {
    return daoine;
  }

  private static final Map<String, String> numbers = new HashMap<String, String>();
  static {
    numbers.put("dhá", "beirt");
    numbers.put("trí", "triúr");
    numbers.put("ceathair", "ceathrar");
    numbers.put("cúig", "cúigear");
    numbers.put("sé", "seisear");
    numbers.put("seacht", "seachtar");
    numbers.put("ocht", "ochtar");
    numbers.put("naoi", "naonúr");
    numbers.put("deich", "deichniúr");
  }

  static Map<String, String> getNumberReplacements() {
    return numbers;
  }

  /**
   * Load words, normalized to lowercase unless starting with '*'.
   */
  private static Set<String> loadWords(String path) {<FILL_FUNCTION_BODY>}

}

    Set<String> set = new HashSet<>();
    InputStream stream = JLanguageTool.getDataBroker().getFromRulesDirAsStream(path);
    try (Scanner scanner = new Scanner(stream, "utf-8")) {
      while (scanner.hasNextLine()) {
        String line = scanner.nextLine().trim();
        if (line.isEmpty() || line.charAt(0) == '#') {
          continue;
        }
        if (line.charAt(0) == '*') {
          set.add(line.substring(1));
        } else {
          set.add(line.toLowerCase());
        }
      }
    }
    return Collections.unmodifiableSet(set);
  
<no_super_class>