TextAnalysisModelFactory.EntityActionResultWithMetadata 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 EntityActionResultWithMetadata.
public static Azure.AI.Language.Text.EntityActionResultWithMetadata EntityActionResultWithMetadata (string id = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DocumentWarning> warnings = default, Azure.AI.Language.Text.DocumentStatistics statistics = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.NamedEntityWithMetadata> entities = default);
static member EntityActionResultWithMetadata : string * seq<Azure.AI.Language.Text.DocumentWarning> * Azure.AI.Language.Text.DocumentStatistics * seq<Azure.AI.Language.Text.NamedEntityWithMetadata> -> Azure.AI.Language.Text.EntityActionResultWithMetadata
Public Shared Function EntityActionResultWithMetadata (Optional id As String = Nothing, Optional warnings As IEnumerable(Of DocumentWarning) = Nothing, Optional statistics As DocumentStatistics = Nothing, Optional entities As IEnumerable(Of NamedEntityWithMetadata) = Nothing) As EntityActionResultWithMetadata
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.
- entities
- IEnumerable<NamedEntityWithMetadata>
Recognized entities in the document.
Returns
A new EntityActionResultWithMetadata instance for mocking.
Applies to
Azure SDK for .NET