Compartilhar via


DocumentAnalysisModelFactory.DocumentField Método

Definição

Inicializa uma nova instância de DocumentField.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField DocumentField (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType fieldType, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue value, string content, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans, float? confidence);
static member DocumentField : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue * string * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> * Nullable<single> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField
Public Shared Function DocumentField (fieldType As DocumentFieldType, value As DocumentFieldValue, content As String, boundingRegions As IReadOnlyList(Of BoundingRegion), spans As IReadOnlyList(Of DocumentSpan), confidence As Nullable(Of Single)) As DocumentField

Parâmetros

fieldType
DocumentFieldType

Tipo de dados do valor do campo.

content
String

Conteúdo do campo.

boundingRegions
IReadOnlyList<BoundingRegion>

Regiões delimitadoras que abrangem o campo.

spans
IReadOnlyList<DocumentSpan>

Local do campo no conteúdo concatenado da ordem de leitura.

confidence
Nullable<Single>

Confiança de extrair corretamente o campo.

Retornos

Aplica-se a