Sdílet prostřednictvím


DetectLanguageResult Class

Definition

The result of the detect language operation on a single document, containing a prediction of what language the document is written in.

public class DetectLanguageResult : Azure.AI.TextAnalytics.TextAnalyticsResult
type DetectLanguageResult = class
    inherit TextAnalyticsResult
Public Class DetectLanguageResult
Inherits TextAnalyticsResult
Inheritance
DetectLanguageResult

Properties

Error

Gets the error explaining why the operation failed on this document. This property will have a value only when the document cannot be processed.

(Inherited from TextAnalyticsResult)
HasError

Indicates that the document was not successfully processed and an error was returned for this document.

(Inherited from TextAnalyticsResult)
Id

Gets the unique identifier for the document that generated the result.

(Inherited from TextAnalyticsResult)
PrimaryLanguage

The primary language detected in the document.

Statistics

Gets statistics about the document and how it was processed by the service. This property will have a value when IncludeStatistics is set to true in the client call.

(Inherited from TextAnalyticsResult)

Applies to