class ItalianWordRepeatRule extends WordRepeatRule {

  public ItalianWordRepeatRule(ResourceBundle messages, Language language) {
    super(messages, language);
  }

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

  @Override
  public boolean ignore(AnalyzedTokenReadings[] tokens, int position) {<FILL_FUNCTION_BODY>}

}

    if (wordRepetitionOf("così", tokens, position)) {
      return true;   // "Mi è sembrato così così."
    }
    if (wordRepetitionOf("passo", tokens, position)) {
      return true;   // "che passo passo vanno verso la rovina"
    }
    if (wordRepetitionOf("piano", tokens, position)) {
     return true;  // "Piano, piano, signor podestà."
    }
    if (wordRepetitionOf("via", tokens, position)) {
      return true;   // "Il lessico si andava via via modificando."
    }
    return super.ignore(tokens, position);
  
<methods>public void <init>(java.util.ResourceBundle, org.languagetool.Language) ,public int estimateContextForSureMatch() ,public java.lang.String getDescription() ,public java.lang.String getId() ,public boolean ignore(org.languagetool.AnalyzedTokenReadings[], int) ,public org.languagetool.rules.RuleMatch[] match(org.languagetool.AnalyzedSentence) <variables>