> For the complete documentation index, see [llms.txt](https://alphamoon.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alphamoon.gitbook.io/documentation/user-guide-how-tos/supervision/how-to-add-assign-and-remove-annotations.md).

# How to add, assign, and remove annotations?

A step-by-step guide

**Annotations** refer to all the captured data from a document, which can include text, images, and other visual elements. They help to identify and extract relevant information from the document, which can be used for various purposes such as **data analysis** and **machine learning**.&#x20;

Take a look at the example below:

<figure><img src="https://1037371503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3NQDmelveCcQtL0yaFs%2Fuploads%2FoprPGCbwpr1h109uTVQa%2Fimage.png?alt=media&amp;token=278f245c-2fa1-4608-a8e5-e43bd3cbf1f3" alt=""><figcaption><p>Annotation example</p></figcaption></figure>

The **Gross amount** is the field, at 20,11 is the **value.**

### Add a new text annotation

In case you want to add a new text annotation, click on the selected text on your document - the **Create new field** window will appear:

<figure><img src="https://1037371503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3NQDmelveCcQtL0yaFs%2Fuploads%2FFlXimQaTD2QZCHqyZ96F%2Fadd%20a%20new%20text%20annotation.gif?alt=media&amp;token=8c255485-99e1-467d-91e8-ca03b1245343" alt=""><figcaption><p>Add a new text annotation</p></figcaption></figure>

Select how you want to **label** your field. Next, check if the **Value** is correct and click the **Create** button. And that's it - your new text annotation should now appear on the extraction list.

### Add a new table annotation

Our platform enables you to add not only text but also new **table** annotations. In order to do that select the area you want to assign as a table. The **Create a new field** window will pop up.&#x20;

In the Type area select the **Table** option. Next, choose the field label - **Items table** or **Tax table**, then click the **Create** button.

Take a look at the example below:

<figure><img src="https://1037371503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3NQDmelveCcQtL0yaFs%2Fuploads%2FqPXnI6SLKNhnpYmAvmVn%2Fadd%20table.gif?alt=media&amp;token=4549a45c-c7bf-43fc-b12d-f4b03a2506f9" alt=""><figcaption><p>Add a new table annotation</p></figcaption></figure>

### Assign a missing annotation

If you see that some missing fields appear at the bottom of the extraction list, you can assign selected words to them from the document viewer. &#x20;

{% hint style="info" %}
**Note:**

[Click here](/documentation/user-guide-how-tos/data-points-definition.md#how-to-add-a-custom-field) to learn more about setting the mandatory fields.
{% endhint %}

<figure><img src="https://1037371503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3NQDmelveCcQtL0yaFs%2Fuploads%2FYp1ijY3zrVbf97land5D%2Fimage.png?alt=media&amp;token=a9ff9875-943d-42ae-9341-5d2a83bcebb9" alt=""><figcaption><p>Mising fields example</p></figcaption></figure>

To do that, first, hover over the missing field. On the right, you will see **three dots**. Click on them and choose the **Assign words** option.&#x20;

Type the word or find it and click on it in the document viewer. Next up, select the **Done** icon.<br>

<figure><img src="https://1037371503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3NQDmelveCcQtL0yaFs%2Fuploads%2FoLOS2Pt2QjgvB3m2SqGE%2Fimage.png?alt=media&amp;token=736671de-3c92-4a6a-b74d-ac574fafbb9d" alt=""><figcaption><p>Assign words view</p></figcaption></figure>

### Remove annotation

If you want to remove the selected annotation, hover over the selected field. On the right, you will see **three dots**. Click on them and choose the **Delete** option.

Take a look at the example below:

<figure><img src="https://1037371503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3NQDmelveCcQtL0yaFs%2Fuploads%2F46wBwNjnAwx1a4nBlPhn%2Fremove%20annotation.gif?alt=media&amp;token=5b5c55c5-ada8-4e32-bd75-01946223bcce" alt=""><figcaption><p>Remove annotation</p></figcaption></figure>

{% hint style="success" %}
**Congrats!**

You have mastered all the necessary annotation use cases.
{% endhint %}

####

#### See next:
