# Analysis of detected entity types

The **Entities Analytics** page displays a summary of the detected entity types. For each entity type, you can display the distribution across the dataset files.

It does not include entity types that have their entity type handling option set to **Ignore**.

You can also use the [Textual Agent](/textual/textual-agent/textual-agent-about.md) to ask questions about the detected entity types and counts.

<figure><img src="/files/miXFbLY97CroPmmzt0oF" alt=""><figcaption><p>Entities Analytics page on the dataset details page</p></figcaption></figure>

## Selecting the value count option

On the **Entities Analytics** page, you can choose how Textual determines the displayed value counts and entity types.

* **Match counts to redacted files -** Displays value counts based on the output files.\
  \
  For this view, the counts do not include entity types that are ignored. The counts also resolve entity values that match multiple types and entity values that share some text.\
  \
  Each value is counted as a single type.
* **Show all detected entities -** Displays the full detection value counts.\
  \
  For this view, the counts per entity type include all of the entities that Textual found during processing. This includes:
  * Values for ignored entity types
  * Entity values that match multiple entity types
  * Entity values that share some text

## Summary counts

The panels at the top of the page provide summary information for the detected entity values. The displayed values are based on the selected value count option.

<figure><img src="/files/NWlXCrpEbzmmbokyZbJZ" alt=""><figcaption><p>Summary counts for the detected entity values</p></figcaption></figure>

The summary information includes:

* The number of detected entity values.
* The number of detected entity types.
* The percentage of detected values that are redacted.
* The percentage of detected values that are synthesized.

## Counts by entity type

The entity types list on the **Entities Analytics** page displays a summary of the detected value counts for the detected entity types. The displayed entity types and counts are based on the selected value count option.

<figure><img src="/files/ICkpka3d0YtlHTtBatOX" alt=""><figcaption><p>Entity types list on the Entities Analytics page</p></figcaption></figure>

For each entity type, the list includes:

* The count of detected values
* The percentage of detected values in the dataset that are of that type

By default, the entity types are listed in descending order based on the value count.

You can sort the list by the entity type, count, and percentage. To sort by a column, click the heading. To reverse the sort order, click the heading again.

## Displaying the top 10 file list for an entity type <a href="#entities-analytics-type-file-list" id="entities-analytics-type-file-list"></a>

When you click an entity type, Textual displays a panel that lists the 10 files that contain the most detected values for that entity type.

<figure><img src="/files/WXhg7cfnIMfrYJaY6Ty4" alt=""><figcaption><p>Summary of values per file for an entity type</p></figcaption></figure>

The panel also allows you to change the handling option for the entity type.


---

# 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.tonic.ai/textual/dataset-configure-redaction/textual-datasets-review-results/entities-analysis-analytics.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.
