OcrSkill Constructors

Definition

Overloads

OcrSkill()

Initializes a new instance of the OcrSkill class.

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

Initializes a new instance of the OcrSkill class.

OcrSkill()

Source:
OcrSkill.cs

Initializes a new instance of the OcrSkill class.

public OcrSkill ();
Public Sub New ()

Applies to

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

Source:
OcrSkill.cs

Initializes a new instance of the OcrSkill class.

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)

Parameters

inputs
IList<InputFieldMappingEntry>

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

outputs
IList<OutputFieldMappingEntry>

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

name
String

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.

description
String

The description of the skill which describes the inputs, outputs, and usage of the skill.

context
String

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

textExtractionAlgorithm
Nullable<TextExtractionAlgorithm>

A value indicating which algorithm to use for extracting text. Default is printed. Possible values include: 'printed', 'handwritten'

defaultLanguageCode
Nullable<OcrSkillLanguage>

A value indicating which language code to use. Default is en. Possible values include: '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>

A value indicating to turn orientation detection on or not. Default is false.

Applies to