# RecognitionAlgorithm

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / RecognitionAlgorithm

# Enumeration: RecognitionAlgorithm

Defines possible algorithms that can be used to recognize
the logical structure of a PDF when building text maps.

## Enumeration Members

### AcrobatLike

> **AcrobatLike**: `1`

Algorithm that primarily relies on the physical structure of a PDF when building text maps.
Results yielded by this algorithm are consistent with how
Acrobat Reader handles text when searching, selecting etc.

***

### Advanced

> **Advanced**: `0`

Advanced algorithm that employs various heuristics and strategies
to try to correctly recognize the logical document structure
when building text maps.

Please note that because the details of this algorithm may change from version
to version, the text maps for a specific PDF may also change when DsPdfJS is updated.
