Class RuleMatchApplication

java.lang.Object
org.languagetool.dev.wikipedia.RuleMatchApplication

public class RuleMatchApplication extends Object
Original text with a potential error and (one of) its applied corrections.
  • Method Details

    • getOriginalErrorContext

      public String getOriginalErrorContext(int contextSize)
    • getCorrectedErrorContext

      public String getCorrectedErrorContext(int contextSize)
    • getRuleMatch

      public RuleMatch getRuleMatch()
    • getOriginalText

      public String getOriginalText()
    • getTextWithCorrection

      public String getTextWithCorrection()
    • getErrorMarker

      public ErrorMarker getErrorMarker()
      Since:
      2.6
    • hasRealReplacement

      public boolean hasRealReplacement()
    • toString

      public String toString()
      Overrides:
      toString in class Object