public class RemoteRuleResult extends Object
Constructor and Description |
---|
RemoteRuleResult(boolean remote,
boolean success,
List<RuleMatch> matches,
List<AnalyzedSentence> processedSentences) |
Modifier and Type | Method and Description |
---|---|
List<RuleMatch> |
getMatches() |
boolean |
isRemote() |
boolean |
isSuccess() |
Set<AnalyzedSentence> |
matchedSentences() |
List<RuleMatch> |
matchesForSentence(AnalyzedSentence sentence)
get matches for a specific sentence
|
Set<AnalyzedSentence> |
processedSentences() |
public RemoteRuleResult(boolean remote, boolean success, List<RuleMatch> matches, List<AnalyzedSentence> processedSentences)
public boolean isRemote()
public boolean isSuccess()
public Set<AnalyzedSentence> matchedSentences()
public Set<AnalyzedSentence> processedSentences()
@Nullable public List<RuleMatch> matchesForSentence(AnalyzedSentence sentence)
sentence
- sentence to look up