Freigeben über


OcrSkill Konstruktoren

Definition

Überlädt

OcrSkill()

Initialisiert eine neue instance der OcrSkill-Klasse.

OcrSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, Nullable<TextExtractionAlgorithm>, Nullable<OcrSkillLanguage>, Nullable<Boolean>)

Initialisiert eine neue instance der OcrSkill-Klasse.

OcrSkill()

Quelle:
OcrSkill.cs

Initialisiert eine neue instance der OcrSkill-Klasse.

public OcrSkill ();
Public Sub New ()

Gilt für:

OcrSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, Nullable<TextExtractionAlgorithm>, Nullable<OcrSkillLanguage>, Nullable<Boolean>)

Quelle:
OcrSkill.cs

Initialisiert eine neue instance der OcrSkill-Klasse.

public OcrSkill (System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> outputs, string name = default, string description = default, string context = default, Microsoft.Azure.Search.Models.TextExtractionAlgorithm? textExtractionAlgorithm = default, Microsoft.Azure.Search.Models.OcrSkillLanguage? defaultLanguageCode = default, bool? shouldDetectOrientation = default);
new Microsoft.Azure.Search.Models.OcrSkill : System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> * string * string * string * Nullable<Microsoft.Azure.Search.Models.TextExtractionAlgorithm> * Nullable<Microsoft.Azure.Search.Models.OcrSkillLanguage> * Nullable<bool> -> Microsoft.Azure.Search.Models.OcrSkill
Public Sub New (inputs As IList(Of InputFieldMappingEntry), outputs As IList(Of OutputFieldMappingEntry), Optional name As String = Nothing, Optional description As String = Nothing, Optional context As String = Nothing, Optional textExtractionAlgorithm As Nullable(Of TextExtractionAlgorithm) = Nothing, Optional defaultLanguageCode As Nullable(Of OcrSkillLanguage) = Nothing, Optional shouldDetectOrientation As Nullable(Of Boolean) = Nothing)

Parameter

inputs
IList<InputFieldMappingEntry>

Eingaben der Skills können eine Spalte im Quelldataset oder die Ausgabe eines Upstream Skills sein.

outputs
IList<OutputFieldMappingEntry>

Die Ausgabe einer Qualifikation ist entweder ein Feld in einem Suchindex oder ein Wert, der von einem anderen Skill als Eingabe verwendet werden kann.

name
String

Der Name des Skills, der ihn innerhalb des Skillsets eindeutig identifiziert. Einem Skill ohne definierten Namen wird der Standardname seines 1-basierten Index im Skills-Array mit dem Präfix "#" zugewiesen.

description
String

Die Beschreibung des Skills, die die Eingaben, Ausgaben und Verwendung des Skills beschreibt.

context
String

Stellt die Ebene dar, auf der Vorgänge ausgeführt werden, z. B. den Dokumentstamm- oder Dokumentinhalt (z. B. /document oder /document/content). Der Standardwert ist /document.

textExtractionAlgorithm
Nullable<TextExtractionAlgorithm>

Ein -Wert, der angibt, welcher Algorithmus zum Extrahieren von Text verwendet werden soll. Der Standardwert ist gedruckt. Mögliche Werte: "gedruckt", "handschriftlich"

defaultLanguageCode
Nullable<OcrSkillLanguage>

Ein -Wert, der angibt, welcher Sprachcode verwendet werden soll. Der Standardwert ist en. Mögliche Werte sind: 'zh-Hans', 'zh-Hant', 'cs', 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'hu', 'it', 'ja', 'ko', 'nb', 'pl', 'pt', 'ru', 'es', 'sv', 'tr', 'ar', 'ro', 'sr-Cyrl', 'sr-Latn', 'sk'

shouldDetectOrientation
Nullable<Boolean>

Ein Wert, der angibt, dass die Ausrichtungserkennung aktiviert wird oder nicht. Der Standardwert ist "false".

Gilt für: