Interface Entity.Builder

    • Method Detail

      • startTime

        Entity.Builder startTime​(Double startTime)

        The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)

        Parameters:
        startTime - The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        Entity.Builder endTime​(Double endTime)

        The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)

        Parameters:
        endTime - The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • category

        Entity.Builder category​(String category)

        The category of information identified. The only category is PII.

        Parameters:
        category - The category of information identified. The only category is PII.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Entity.Builder type​(String type)

        The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.

        Parameters:
        type - The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        Entity.Builder content​(String content)

        The word or words identified as PII.

        Parameters:
        content - The word or words identified as PII.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        Entity.Builder confidence​(Double confidence)

        The confidence score associated with the identified PII entity in your audio.

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

        Parameters:
        confidence - The confidence score associated with the identified PII entity in your audio.

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

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