<commit_before>package org.languagetool.rules.spelling.hunspell;

import org.languagetool.Language;

import java.io.IOException;
import java.util.ResourceBundle;

/**
 * Like {@link HunspellRule}, but does not offer suggestions for incorrect words
 * as that is very slow with Hunspell.
 */
public class HunspellNoSuggestionRule extends HunspellRule {

  public static final String RULE_ID = "HUNSPELL_NO_SUGGEST_RULE";

  public HunspellNoSuggestionRule(final ResourceBundle messages, final Language language) throws UnsatisfiedLinkError, UnsupportedOperationException, IOException {
    super(messages, language);
  }

  @Override
 	public String getId() {
 		return RULE_ID;
 	}

 	@Override
 	public String getDescription() {
     // TODO: make i18n after LT 1.8? or will it only be used for German anyway?
 		return "Möglicher Rechtschreibfehler (ohne Korrekturvorschlag)";
 	}

  @Override
  protected boolean offerSuggestions() {
    return false;
  }

}<commit_msg>use English description (no i18n yet as we are in feature freeze)<commit_after>package org.languagetool.rules.spelling.hunspell;

import org.languagetool.Language;

import java.io.IOException;
import java.util.ResourceBundle;

/**
 * Like {@link HunspellRule}, but does not offer suggestions for incorrect words
 * as that is very slow with Hunspell.
 */
public class HunspellNoSuggestionRule extends HunspellRule {

  public static final String RULE_ID = "HUNSPELL_NO_SUGGEST_RULE";

  public HunspellNoSuggestionRule(final ResourceBundle messages, final Language language) throws UnsatisfiedLinkError, UnsupportedOperationException, IOException {
    super(messages, language);
  }

  @Override
  public String getId() {
    return RULE_ID;
  }

  @Override
  public String getDescription() {
    // TODO: make i18n after LT 1.8
    return messages.getString("desc_spelling") + " (no suggestions)";
  }

  @Override
  protected boolean offerSuggestions() {
    return false;
  }

}
{'fraction_non_alphanumeric': 0.0787321063394683, 'fraction_numerical': 0.005112474437627812, 'mean_word_length': 4.591428571428572, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1571422', 'n_tokens_mistral': 608, 'n_tokens_neox': 585, 'n_words': 173}