Interface MedicalItem.Builder

    • Method Detail

      • startTime

        MedicalItem.Builder startTime​(Double startTime)

        The start time, in seconds, of the transcribed item.

        Parameters:
        startTime - The start time, in seconds, of the transcribed item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        MedicalItem.Builder endTime​(Double endTime)

        The end time, in seconds, of the transcribed item.

        Parameters:
        endTime - The end time, in seconds, of the transcribed item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        MedicalItem.Builder type​(String type)

        The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

        Parameters:
        type - The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ItemType, ItemType
      • type

        MedicalItem.Builder type​(ItemType type)

        The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

        Parameters:
        type - The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ItemType, ItemType
      • content

        MedicalItem.Builder content​(String content)

        The word or punctuation that was transcribed.

        Parameters:
        content - The word or punctuation that was transcribed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        MedicalItem.Builder confidence​(Double confidence)

        The confidence score associated with a word or phrase in your transcript.

        Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.

        Parameters:
        confidence - The confidence score associated with a word or phrase in your transcript.

        Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • speaker

        MedicalItem.Builder speaker​(String speaker)

        If speaker partitioning is enabled, Speaker labels the speaker of the specified item.

        Parameters:
        speaker - If speaker partitioning is enabled, Speaker labels the speaker of the specified item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.