共用方式為


TextAnalysisModelFactory.TemporalSpanMetadata Method

Definition

Initializes a new instance of TemporalSpanMetadata.

public static Azure.AI.Language.Text.TemporalSpanMetadata TemporalSpanMetadata (System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.TemporalSpanValues> spanValues = default);
static member TemporalSpanMetadata : seq<Azure.AI.Language.Text.TemporalSpanValues> -> Azure.AI.Language.Text.TemporalSpanMetadata
Public Shared Function TemporalSpanMetadata (Optional spanValues As IEnumerable(Of TemporalSpanValues) = Nothing) As TemporalSpanMetadata

Parameters

spanValues
IEnumerable<TemporalSpanValues>

List of temporal spans detected.

Returns

A new TemporalSpanMetadata instance for mocking.

Applies to