public interface SpeechSearchMatch
This interface contains details of when the match occurred in seconds from the beginning of the speech search on the call and the confidence level of the match.
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
The confidence level between 0.0 and 100.0 of the concept matched, where 100 is a perfect match.
|
float |
getEndTime()
Time, in seconds, from the speech search request until the end of the match.
|
String |
getId()
The identifier for the match.
|
String |
getName()
The name of the concept.
|
String |
getOperator()
Get the operator for the concept.
|
float |
getStartTime()
Time, in seconds, from the speech search request until the start of the match.
|
String getId()
String getName()
String getOperator()
float getConfidence()
float getStartTime()
The following example assumes that speech search is started on the calling party 10 seconds into the call. The specified search phrase has a length of 3 seconds. A search match occurs 20 seconds into the call and the Avaya Breeze snap-in is notified. In this case, the getStartTime method returns a value of 10 seconds and the getEndTime method returns a valued of 13 seconds. The start and end times describe the time range within the audio data, 10 through 13 seconds in which the match occurred. This is different from the time range within the call, 20 through 23 seconds.
float getEndTime()
The following example assumes that speech search is started on the calling party 10 seconds into the call. The specified search phrase has a length of 3 seconds. A search match occurs 20 seconds into the call and the Avaya Breeze snap-in is notified. In this case, the getStartTime method returns a value of 10 seconds and the getEndTime method returns a valued of 13 seconds. The start and end times describe the time range within the audio data, 10 through 13 seconds in which the match occurred. This is different from the time range within the call, 20 through 23 seconds.
Copyright © 2016 Avaya. All Rights Reserved.