# Table annotation

Annotating data in a table-like structure can be time-consuming, more so when there are a lot of rows to annotate. To speed up this process significantly, you can use the table annotation feature.

<figure><img src="/files/VxI9GepyEUpCShdMppxD" alt=""><figcaption></figcaption></figure>

#### Step 1: Click the table annotation mode

<figure><img src="/files/22yJJ7eWfcBjvhAsZhWK" alt=""><figcaption></figcaption></figure>

#### Step 2: Select the area with the table like data

<figure><img src="/files/t8Rq27go0cpKMoJxAeLJ" alt=""><figcaption></figcaption></figure>

#### Step 3: Adjust the capture area

<figure><img src="/files/trOeAQ0o89QFYjQKE1bX" alt=""><figcaption></figcaption></figure>

#### Step 4a: Detect rows and columns

Pressing this option will try and automatically detect columns and rows for you. Use this option whenever possible as it will speed up your annotation effort.

#### Step 4b: Manual rows and columns definition

If the automatic rows and column detection doesn't work well or adjustments need to be made, you can easily process this manually.

<figure><img src="/files/ln2Ihwej37BqFdgwC5im" alt=""><figcaption></figcaption></figure>

If the capture area needs adjusting, this can easily be done by pressing the "Edit frame" button.

{% hint style="warning" %}
Pressing this button will undo all rows and column definitions which you added
{% endhint %}

<figure><img src="/files/pgmTKRVQngpauAlEwoUR" alt=""><figcaption></figcaption></figure>

If you have more than 1 composite for your document type, you can choose which composite the table should represent.

<figure><img src="/files/rUd6qf90msmvdYXIXz0D" alt=""><figcaption></figcaption></figure>

You can add columns to your table by pressing the "Add column" button.

{% hint style="info" %}
When you select a column you can split that column into 2 by pressing the "Add column" button.
{% endhint %}

<figure><img src="/files/mDGsp2Jqk9sundOkhu7B" alt=""><figcaption></figcaption></figure>

This will add columns to your area. You can grab the vertical lines to adjust your columns to make sure they align with the colum in the document.

<figure><img src="/files/KCDcxT115NVF5GYu9yUv" alt=""><figcaption></figcaption></figure>

Clicking a column allows you to&#x20;

* disable the column if the data in that column is irrelevant
* delete a column
* Set the entity that needs to be annotated for all the values in that column

<figure><img src="/files/4TSSgpApEI31mixTi1Yu" alt=""><figcaption></figcaption></figure>

In the example below all the columns have been configured and the first column has been disabled.

<figure><img src="/files/NdFcJoEJthuJLT1yhop7" alt=""><figcaption></figcaption></figure>

Once you are done with setting up your columns, you can start defining the rows.

<figure><img src="/files/etJJWbGkmjsVyhadEMY6" alt=""><figcaption></figcaption></figure>

Just like for columns, you can add different rows and adjust them to align with the row data of the document.

<figure><img src="/files/MO3pDOZ7lZnjZpFaiAUO" alt=""><figcaption></figcaption></figure>

When you are done defining the rows, you can press the back button.

<figure><img src="/files/ZUzE22yJpuccjfkfR6dD" alt=""><figcaption></figcaption></figure>

If you defined all the rows and columns, you can press the approve button to convert the table into composites for each row.

<figure><img src="/files/JDtat2SqWtcYTUoH151n" alt=""><figcaption></figcaption></figure>

The result for the above would look like the following

<figure><img src="/files/HKemaDyuutb2y25itBIX" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-old.app.metamaze.eu/getting-started/processing-documents/labelling-of-training-data/entity-extraction/table-annotation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
