TextAnalysisModelFactory.LanguageDetectionDocumentResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LanguageDetectionDocumentResult.
public static Azure.AI.Language.Text.LanguageDetectionDocumentResult LanguageDetectionDocumentResult (string id = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DocumentWarning> warnings = default, Azure.AI.Language.Text.DocumentStatistics statistics = default, Azure.AI.Language.Text.DetectedLanguage detectedLanguage = default);
static member LanguageDetectionDocumentResult : string * seq<Azure.AI.Language.Text.DocumentWarning> * Azure.AI.Language.Text.DocumentStatistics * Azure.AI.Language.Text.DetectedLanguage -> Azure.AI.Language.Text.LanguageDetectionDocumentResult
Public Shared Function LanguageDetectionDocumentResult (Optional id As String = Nothing, Optional warnings As IEnumerable(Of DocumentWarning) = Nothing, Optional statistics As DocumentStatistics = Nothing, Optional detectedLanguage As DetectedLanguage = Nothing) As LanguageDetectionDocumentResult
Parameters
- id
- String
Unique, non-empty document identifier.
- warnings
- IEnumerable<DocumentWarning>
Warnings encountered while processing document.
- statistics
- DocumentStatistics
if showStats=true was specified in the request this field will contain information about the document payload.
- detectedLanguage
- DetectedLanguage
Detected Language.
Returns
A new LanguageDetectionDocumentResult instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET