Interface InterruptionFilter.Builder

    • Method Detail

      • threshold

        InterruptionFilter.Builder threshold​(Long threshold)

        Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains more than 10,000 milliseconds of interruptions.

        Parameters:
        threshold - Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains more than 10,000 milliseconds of interruptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • participantRole

        InterruptionFilter.Builder participantRole​(String participantRole)

        Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.

        Parameters:
        participantRole - Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ParticipantRole, ParticipantRole
      • participantRole

        InterruptionFilter.Builder participantRole​(ParticipantRole participantRole)

        Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.

        Parameters:
        participantRole - Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ParticipantRole, ParticipantRole
      • absoluteTimeRange

        InterruptionFilter.Builder absoluteTimeRange​(AbsoluteTimeRange absoluteTimeRange)

        Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption. See for more detail.

        Parameters:
        absoluteTimeRange - Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption. See for more detail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relativeTimeRange

        InterruptionFilter.Builder relativeTimeRange​(RelativeTimeRange relativeTimeRange)

        Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for an interruption. See for more detail.

        Parameters:
        relativeTimeRange - Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for an interruption. See for more detail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • negate

        InterruptionFilter.Builder negate​(Boolean negate)

        Set to TRUE to flag speech that does not contain interruptions. Set to FALSE to flag speech that contains interruptions.

        Parameters:
        negate - Set to TRUE to flag speech that does not contain interruptions. Set to FALSE to flag speech that contains interruptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.