# 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FFlW2F6jws0viWCyvK3E3%2Fchrome_ECz7RjVGzv.gif?alt=media&#x26;token=64350157-eee2-453f-a5ef-27296ee0fa61" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FFjeslBi7hZssF9rFqtGv%2Fimage.png?alt=media&#x26;token=1f156154-25d1-49c9-9e44-804f3bf69ce8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FvO2GhGcYXBx30U9hN0E8%2Fimage.png?alt=media&#x26;token=5e89dc07-08df-494b-80c1-5651fd7ea3df" alt=""><figcaption></figcaption></figure>

#### Step 3: Adjust the capture area

<figure><img src="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FqzCBM2nwRTPDJM0jmXcH%2Fimage.png?alt=media&#x26;token=35a05a81-00e4-4566-a9a2-af814153d90a" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FaO4SgqrBBQ3x1kWyiuOO%2Fimage.png?alt=media&#x26;token=4bda54e1-f2cc-49a8-a630-251172b637b3" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FyvOcEeCOqYedrpcDsXyg%2Fimage.png?alt=media&#x26;token=5818f9d3-f336-42f0-bdc0-09516b94472a" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FKDTLMopZHkqqhi0Xs5MZ%2Fimage.png?alt=media&#x26;token=ae0ea09c-2c95-49bd-b63a-edbcb5d7c9f9" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FyUoH5UT7RIEKQKVGN6ce%2Fimage.png?alt=media&#x26;token=a94b0cec-88a0-4fab-a3af-6b93b8dd809d" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2F2vEYKS6y9FrdRWBGkJYH%2Fimage.png?alt=media&#x26;token=68144fa9-47db-4c45-aa6c-1a0d335046af" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FX3KcCAxw32CCwMeOKejC%2Fimage.png?alt=media&#x26;token=5260a81f-f9bd-4dd3-94d6-9009ccbbd6b4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FhwmFL0QYNYrUPFmZ5EL2%2Fimage.png?alt=media&#x26;token=776b4d41-3027-45b5-bfd9-1c49f55f721c" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FvURECfyfWM5xaf2mf41q%2Fimage.png?alt=media&#x26;token=47001378-444d-4d47-9c70-2e62d777afd8" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FGK3PMFgm0YDiiFHw241M%2Fimage.png?alt=media&#x26;token=df3ea5f9-4f47-4507-84dd-bbb87a4663be" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FRcmw7Fs6pgRnjvXQhFIa%2Fimage.png?alt=media&#x26;token=e5d99d64-622e-4d21-ba58-20505921fc9b" 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="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2F8Un9wRKgq1CpaRj0Snfi%2Fimage.png?alt=media&#x26;token=9ecfdba8-4684-459e-bf15-27824730c220" alt=""><figcaption></figcaption></figure>

The result for the above would look like the following

<figure><img src="https://382487820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuWehHupT-Y9kwe-PJb%2Fuploads%2FV5BGumYznmbX2ydOZ9k6%2Fimage.png?alt=media&#x26;token=7ba05f9f-7333-4301-a067-e003843918ab" alt=""><figcaption></figcaption></figure>
