Data extraction and tagging of documents or content

Tabla de contenidos

Athento has functionality for extracting metadata or fields, to automatically assign relevant information to captured documents or content.

The product has various functionalities that can be used according to the nature of the documents, images, or content.

One of Athento’s values is that it allows you to combine multiple extraction mechanisms.

 

Metadata extraction methods in Athento

From the full text of a document

Athento can extract the text from documents using OCR (Optical Character Recognition) or extract the text from natively digital documents. Once the text or the document’s OCR is available, Athento can detect key data such as names, dates, identification numbers, etc.

To detect this data, it uses regular expressions, keywords, or business rules to identify and automatically assign metadata (for example, detecting an invoice number or a NIF in a document).

 

You can consult:

How to extract the OCR from a document?

How can I extract the text from a document?

How to extract fields automatically?

How can I use regular expressions in extraction templates if I don’t have technical knowledge?

Examples of common regular expressions

How can I get all occurrences of a regular expression?

 

From areas of the document

Extraction templates allow defining areas of the document where the data to be extracted is located. For the same form or document type, it is possible to have multiple templates.

Once the document is classified with a template, the data is extracted from the areas delimited in the template where key information is expected to be found (example: invoice number, date, total, etc.). For each of the delimited areas, the application generates small crops of the document in image format to which OCR is applied. In this way, character recognition is focused on specific areas.

Templates in Athento have the advantage that they allow combining extraction methods, for example, regular expressions, keywords, or business rules present in the full text of the document.

Another advantage of this method is that templates can be defined visually by users without technical knowledge.

You can consult:

How to create different data extraction templates for the same form?

 

Data extraction using Artificial Intelligence (AI)

AI-based field extraction works by defining a context for each field, as well as a context for the form to which the fields belong. The user describes the data they want to obtain. Based on this textual description of the data, the available AI automations will search for the information in the document text (previously extracted) or from images of the pages of a document.

The advantages of data extraction using Artificial Intelligence are:

  • There is no need to define multiple templates for the same document type. This reduces template creation and maintenance, although it may happen that users have to adjust the descriptions of their fields.
  • Contexts are defined in text form, so any user can do it.
  • AI can provide us with information that is not literally present in the document, but that it can interpret. For example, suppose the city appears in the document, but not the country. To fill in the country field, AI can infer the country from the city mentioned in the document text.
  • We can ask AI for the data in a specific format. For example, if you want to extract a date, the date may appear in different formats across different documents. However, if we specify to AI the format in which we want the date, it can give it to us already transformed.
  • Learning and feedback. It is possible to provide feedback on the results, so that it learns.

You can consult:

Operation to extract fields with Artificial Intelligence

Intelligent field extraction using Athenea

 

From external data sources or master tables loaded in Athento 

Athento can validate and complete metadata by consulting external sources (for example, an ERP or CRM) to ensure the consistency and quality of the information. It is also possible to load data into Athento (as dictionaries or as records) to search for this data in the document text. 

 

Other methods to complete fields or metadata

  • Extract data from the title of a document
  • Calculate values from other fields
  • Inherit data from other documents

 

Data extraction from digital content other than documents

Athento also offers automations that allow using AI services to analyze and obtain information from:

  • Videos
  • Photographs
  • Infographics
  • etc.

You can consult:

Operation to analyze images with Artificial Intelligence

How to extract data from a video using Azure AI Video Indexer?

Operation to obtain the caption of an image