Allows to register a text and obtain an object which encapsulates the contextual analysis methods to perform operations of data extraction through the search patterns.

1 ocr

<ocr>
    <ocr text /> +
</ocr>
Example

Obtains the text through a HOCR document.

Copy
<xsql-script name='ocr'>
    <body>
        <set name='m_ocr_obj'>
            <ocr>
                <m_ocr_text />
            </ocr>
        </set>
    </body>
</xsql-script>