Skip to content
Permalink
Browse files

Step 10: Detection Time

  • Loading branch information...
tlinkowski committed Jan 31, 2019
1 parent 6e7516e commit d5ad323e4f314ebf9eb008a7292a404c294f8ff5
Showing with 8 additions and 1 deletion.
  1. +7 −0 IssueDetectionResult.java
  2. +1 −1 IssueDetector.java
@@ -0,0 +1,7 @@
import java.time.Duration;

interface IssueDetectionResult {
IssueWiseText<ProbableIssue> probabilisticIssueWiseText();

Duration detectionTime();
}
@@ -1,4 +1,4 @@
interface IssueDetector {
// e.g. text: "You migth know it.", probabilityThreshold: 0.75
IssueWiseText<ProbableIssue> detect(String text, double probabilityThreshold);
IssueDetectionResult detect(String text, double probabilityThreshold);
}

0 comments on commit d5ad323

Please sign in to comment.
You can’t perform that action at this time.