# US 2026/0154982 A1 · Methods, systems, articles of manufacture, and apparatus to tag segments in a document

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0154982 A1
- Document ID: US20260154982A1
- Status: Published application
- Kind: A1
- Application number: 19/465,897
- Filed: 2026-01-30
- Published: 2026-06-04
- Earliest claimed: 2022-09-15
- Assignees: Nielsen Consumer LLC
- Applicants: Nielsen Consumer LLC
- Inventors: Jose Javier Yebes Torres; David Montero
- Web page: https://patentgrep.com/patent/US20260154982A1

## CPC

- G06F 40/30: Semantic analysis
- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06V 10/82: using neural networks
- G06V 30/153: {using recognition of characters or words}
- G06V 30/19113: {Selection of pattern recognition techniques, e.g. of classifiers in a multi-classifier system}
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, apparatus, systems, and articles of manufacture are disclosed to tag segments in a document. An example apparatus includes processor circuitry to execute machine readable instructions to generate node embeddings for nodes of a graph, the node embeddings based on features extracted from text segments detected in a document, the text segments to be represented by the nodes of the graph; sample edges corresponding to the nodes to generate the graph; generate first updated node embeddings by passing the node embeddings and the graph through layers of a graph neural network, the first updated embeddings corresponding to the node embeddings augmented with neighbor information; generate second updated node embeddings by passing the first updated embeddings through layers of a recurrent neural network, the second updated embeddings corresponding to the first updated node embeddings augmented with sequential information; and classify the text segments based on the second updated node embeddings.

## Claims

### Claim 1

An apparatus comprising:
machine-readable instructions; and
at least one programmable circuit to at least one of instantiate or execute the machine-readable instructions to:
generate nodes representing text segments in a document, the nodes defining a graph;
generate node embeddings for the nodes, the node embeddings including text embeddings based on text strings in the text segments and region embeddings based on locations of text segments in the document, the nodes including a first node for a first text segment of the text segments, the node embeddings including a first node embedding for the first node;
execute, based on the graph and the node embeddings, a first neural network model to generate first adjusted node embeddings, a first one of the first adjusted node embeddings corresponding to the first node embedding augmented with information associated with other ones of the nodes;
execute, based on the first adjusted node embeddings, a second neural network model to generate second adjusted node embeddings, a first one of the second adjusted node embeddings corresponding to the first one of the first adjusted node embeddings augmented with positional information, the positional information indicating a position of the first text segment relative to other ones of the text segments; and
classify the text segments based on the second adjusted node embeddings.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein one or more of the at least one programmable circuit is to:
identify an edge between the first text segment and a second text segment of the text segments; and
generate the graph including the first node and the edge.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein one or more of the at least one programmable circuit is to identify the edge based on a vertical distance between a first center coordinate of the first text segment and a second center coordinate of the second text segment.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the first neural network model is a graph-based neural network model and the second neural network model is a recurrent neural network model.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein one or more of the at least one programmable circuit is to classify the first text segment by:
passing the first one of the second adjusted node embeddings through a linear layer to generate logistic units;
passing the logistic units through a softmax layer to generate class probability values; and
selecting a first category having the highest probability as a classification for the first text segment.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein one or more of the at least one programmable circuit is to output the first text segment labeled with the first category.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the document is a receipt.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein one or more of the at least one programmable circuit is to generate a first text embedding of the text embeddings by:
generating position-encoded sequences of character embeddings for each word in a text string of the first text segment;
executing a Transformer encoder based on the position-encoded sequences of character embeddings to modify the character embeddings with character-based sequential information; and
averaging the modified character embeddings to generate the first text embedding.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein one or more of the at least one programmable circuit is to generate a first region embedding of the region embeddings based on a bounding box associated with the first text segment.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein one or more of the at least one programmable circuit is to:
determine an average of the node embeddings to generate a global node; and
execute the second neural network model based on the graph, the node embeddings, and the global node.

### Claim 11

At least one non-transitory machine-readable medium comprising machine-readable instructions to cause at least one programmable circuit to at least:
generate nodes representing text segments in a document, the nodes defining a graph;
generate node embeddings for the nodes, the node embeddings including text embeddings based on text strings in the text segments and region embeddings based on locations of text segments in the document, the nodes including a first node for a first text segment of the text segments, the node embeddings including a first node embedding for the first node;
execute, based on the graph and the node embeddings, a first neural network model to generate first adjusted node embeddings, a first one of the first adjusted node embeddings corresponding to the first node embedding augmented with information associated with other ones of the nodes;
execute, based on the first adjusted node embeddings, a second neural network model to generate second adjusted node embeddings, a first one of the second adjusted node embeddings corresponding to the first one of the first adjusted node embeddings augmented with sequential information, the sequential information indicating an order of the text segments in the document; and
classify the text segments based on the second adjusted node embeddings.

### Claim 12 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, wherein the machine-readable instructions are to cause one or more of the at least one programmable circuit to:
identify an edge between the first text segment and a second text segment of the text segments; and
generate the graph including the first node and the edge.

### Claim 13 (depends on 12)

The at least one non-transitory machine-readable medium of claim 12, wherein the machine-readable instructions are to cause one or more of the at least one programmable circuit to identify the edge based on a vertical distance between a first center coordinate of the first text segment and a second center coordinate of the second text segment.

### Claim 14 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, wherein the first neural network model is a graph-based neural network model and the second neural network model is a recurrent neural network model.

### Claim 15 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, wherein the machine-readable instructions are to cause one or more of the at least one programmable circuit to classify the first text segment by:
passing the first one of the second adjusted node embeddings through a linear layer to generate logistic units;
passing the logistic units through a softmax layer to generate class probability values; and
selecting a first category having the highest probability as a classification for the first text segment.

### Claim 16 (depends on 15)

The at least one non-transitory machine-readable medium of claim 15, wherein the machine-readable instructions are to cause one or more of the at least one programmable circuit to output the first text segment labeled with the first category.

### Claim 17 (depends on 16)

The at least one non-transitory machine-readable medium of claim 16, wherein the first category is a product description category or a price category.

### Claim 18 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, wherein the machine-readable instructions are to cause one or more of the at least one programmable circuit to generate a first text embedding of the text embeddings by:
generating position-encoded sequences of character embeddings for each word in a text string of the first text segment;
executing a Transformer encoder based on the position-encoded sequences of character embeddings to modify the character embeddings with character-based sequential information; and
averaging the modified character embeddings to generate the first text embedding.

### Claim 19 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, wherein the machine-readable instructions are to cause one or more of the at least one programmable circuit to generate the region embeddings based on bounding boxes associated with the text segments.

### Claim 20 (depends on 11)

The at least one non-transitory machine-readable medium of claim 11, wherein the machine-readable instructions are to cause one or more of the at least one programmable circuit to:
determine an average of the node embeddings to generate a global node; and
execute the second neural network model based on the graph, the node embeddings, and the global node.
