Auf Englisch lesen

Freigeben über


DocumentWord Class

Definition

A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.

C#
public class DocumentWord : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.DocumentWord>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.DocumentWord>
Inheritance
DocumentWord
Implements

Properties

Confidence

Confidence of correctly extracting the word.

Content

Text content of the word.

Polygon

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

Location of the word in the reading order concatenated content.

Methods

Explicit Interface Implementations

IJsonModel<DocumentWord>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DocumentWord>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentWord>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentWord>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DocumentWord>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Produkt Versionen
Azure SDK for .NET Latest, Preview