Interface DominantLanguage.Builder

    • Method Detail

      • languageCode

        DominantLanguage.Builder languageCode​(String languageCode)

        The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.

        Parameters:
        languageCode - The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • score

        DominantLanguage.Builder score​(Float score)

        The level of confidence that Amazon Comprehend has in the accuracy of the detection.

        Parameters:
        score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.