Class RemoteRuleResult

java.lang.Object
org.languagetool.rules.RemoteRuleResult

public class RemoteRuleResult extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • isRemote

      public boolean isRemote()
    • isSuccess

      public boolean isSuccess()
    • getMatches

      public List<RuleMatch> getMatches()
    • matchedSentences

      public Set<AnalyzedSentence> matchedSentences()
    • processedSentences

      public Set<AnalyzedSentence> processedSentences()
    • matchesForSentence

      @Nullable public List<RuleMatch> matchesForSentence(AnalyzedSentence sentence)
      get matches for a specific sentence
      Parameters:
      sentence - sentence to look up
      Returns:
      null if sentence not processed, else returned matches