# Word Class

> `Word` is a public class that represents a word.

`Word` is a public class that represents a word.

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Dom`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

A public class that represents a word.

## Members

#### Constructors

`Word()` - Initializes a new instance of the `Word` class with no arguments.

#### Properties

* `Box` `UiPath.DocumentProcessing.Contracts.Box` - The box corresponding to the exact position of the word in the page, relative to the page size.
* `IndexInText` `Int` - The index in the text where the textual contents of the word start.
* `OcrConfidence` `Float` - Provides the OCR confidence computed for the current word.
* `Polygon` `UiPath.DocumentProcessing.Contracts.Polygon` - The polygon created around the word, with all points arranged in clockwise order.
* `Text` `String` - The textual value of the word.
* `TextType` `UiPath.DocumentProcessing.Contracts.TextType` - The type of the extracted box - text, checkbox, handwriting.
* `VisualLineNumer` `Int` - The line number that the word is part of.
