DocumentIntelligenceModelFactory.DocumentWord 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 DocumentWord.
public static Azure.AI.DocumentIntelligence.DocumentWord DocumentWord (string content = default, System.Collections.Generic.IEnumerable<float> polygon = default, Azure.AI.DocumentIntelligence.DocumentSpan span = default, float confidence = 0);
static member DocumentWord : string * seq<single> * Azure.AI.DocumentIntelligence.DocumentSpan * single -> Azure.AI.DocumentIntelligence.DocumentWord
Public Shared Function DocumentWord (Optional content As String = Nothing, Optional polygon As IEnumerable(Of Single) = Nothing, Optional span As DocumentSpan = Nothing, Optional confidence As Single = 0) As DocumentWord
Parameters
- content
- String
Text content of the word.
- polygon
- IEnumerable<Single>
Bounding polygon of the word, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.
- span
- DocumentSpan
Location of the word in the reading order concatenated content.
- confidence
- Single
Confidence of correctly extracting the word.
Returns
A new DocumentWord instance for mocking.
Applies to
Azure SDK for .NET