class MorfologikIrishSpellerRule extends MorfologikSpellerRule {

  private static final String RESOURCE_FILENAME = "/ga/hunspell/ga_IE.dict";

  private static final Pattern IRISH_TOKENIZING_CHARS = Pattern.compile("-");

  public MorfologikIrishSpellerRule(ResourceBundle messages,
                                     Language language, UserConfig userConfig, List<Language> altLanguages) throws IOException {
    super(messages, language, userConfig, altLanguages);
    super.ignoreWordsWithLength = 1;
    setCategory(Categories.TYPOS.getCategory(messages));
    addExamplePair(Example.wrong("Tá <marker>botun</marker> san abairt seo."),
                   Example.fixed("Tá <marker>botún</marker> san abairt seo."));
    // this.setIgnoreTaggedWords();
  }

  @Override
  public String getFileName() {
    return RESOURCE_FILENAME;
  }

  @Override
  public String getId() {
    return "MORFOLOGIK_RULE_GA_IE";
  }

  @Override
  public Pattern tokenizingPattern() {
    return IRISH_TOKENIZING_CHARS;
  }

  @Override
  public boolean isMisspelled(String word) throws IOException {<FILL_FUNCTION_BODY>}

}

    String checkWord = word;
    if (Utils.isAllMathsChars(word)) {
      checkWord = Utils.simplifyMathematical(word);
    } else if (Utils.isAllHalfWidthChars(word)) {
      checkWord = Utils.halfwidthLatinToLatin(word);
    }
    return super.isMisspelled(checkWord);
  
<methods>public void <init>(java.util.ResourceBundle, org.languagetool.Language) throws java.io.IOException,public void <init>(java.util.ResourceBundle, org.languagetool.Language, org.languagetool.UserConfig) throws java.io.IOException,public void <init>(java.util.ResourceBundle, org.languagetool.Language, org.languagetool.UserConfig, List<org.languagetool.Language>) throws java.io.IOException,public void <init>(java.util.ResourceBundle, org.languagetool.Language, org.languagetool.GlobalConfig, org.languagetool.UserConfig, List<org.languagetool.Language>, org.languagetool.languagemodel.LanguageModel, org.languagetool.Language) throws java.io.IOException,public java.lang.String getDescription() ,public abstract java.lang.String getFileName() ,public abstract java.lang.String getId() ,public List<java.lang.String> getSpellingSuggestions(java.lang.String) throws java.io.IOException,public boolean isMisspelled(java.lang.String) throws java.io.IOException,public org.languagetool.rules.RuleMatch[] match(org.languagetool.AnalyzedSentence) throws java.io.IOException,public void setIgnoreTaggedWords() ,public void setLocale(java.util.Locale) ,public java.util.regex.Pattern tokenizingPattern() <variables>static final int MAX_FREQUENCY_FOR_SPLITTING,private boolean checkCompound,private java.util.regex.Pattern compoundRegex,protected java.util.Locale conversionLocale,protected final non-sealed org.languagetool.GlobalConfig globalConfig,private boolean ignoreTaggedWords,private static final Logger logger,protected final non-sealed org.languagetool.Language motherTongue,private static final java.util.regex.Pattern pStartsWithNumbersBullets,private static final java.util.regex.Pattern pStartsWithNumbersBulletsExceptions,protected org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller speller1,protected org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller speller2,protected org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller speller3,private final non-sealed org.languagetool.UserConfig userConfig