# US 2022/0067288 A1 · Representing confidence in natural language processing

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

- Number: US 2022/0067288 A1
- Document ID: US20220067288A1
- Status: Published application
- Kind: A1
- Application number: 17/004,728
- Filed: 2020-08-27
- Published: 2022-03-03
- Earliest claimed: 2020-08-27
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Jeremy Goodsitt; Austin Walters; Anh Truong
- Web page: https://patentgrep.com/patent/US20220067288A1

## CPC

- G06F 40/279: Recognition of textual entities
- G06F 40/295: Named entity recognition
- G06F 16/34: Browsing; Visualisation therefor (browsing or visualisation for clustering or classification G06F16/358)
- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F 40/30: Semantic analysis
- G06F 40/109: Font handling; Temporal or kinetic typography
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and computing devices for visualizing natural language processing algorithm processes are described herein. A plurality of categories may be determined. Each color of a plurality of colors may correspond to the categories. Text content may be processed using a natural language processing algorithm. Confidence values indicating, for each of a plurality of portions of the text content, a degree of confidence corresponding to one or more of the plurality of categories may be determined. Display colors may be determined based on the confidence values. A user interface comprising a visualization of the text content may be displayed, and the user interface may be configured to show each portion of the text content using a display color such that the user interface indicates changes in confidence across the plurality of characters.

## Claims

### Claim 1

A method comprising:
determining a plurality of categories, wherein each category of the plurality of categories corresponds to a different possible meaning of at least a portion of text content;
determining a plurality of colors, wherein each color of the plurality of colors corresponds to a different category of the plurality of categories;
processing, using a natural language processing algorithm, the text content by associating a plurality of characters of the text content with a corresponding one or more of the plurality of categories;
for each character of the plurality of characters of the text content:
determining, based on the processing, a plurality of confidence values that indicate, for the character, a degree of confidence corresponding to one or more of the plurality of categories;
determining, for the character, a display color by blending, based on the plurality of confidence values, at least two of the plurality of colors; and
causing display, by a computing device, of a user interface comprising a visualization of the text content, wherein the user interface is configured to display each character of the plurality of characters of the text content using a corresponding display color such that the user interface indicates changes in confidence across the plurality of characters.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the display color comprises:
determining a first color, of the plurality of colors, that corresponds to a first category of the plurality of categories;
determining a second color, of the plurality of colors, that corresponds to a second category of the plurality of categories;
determining a first confidence value, of the plurality of confidence values, that corresponds to the first category;
determining a second confidence value, of the plurality of confidence values, that corresponds to the second category; and
generating the display color by combining, based on a comparison of the first confidence value and the second confidence value, the first color and the second color.

### Claim 3 (depends on 1)

The method of claim 1, wherein the display color comprises a gradient of the at least two of the plurality of colors.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the display color comprises:
blending, based on the plurality of confidence values, at least two of the plurality of colors with a color of the user interface.

### Claim 5 (depends on 4)

The method of claim 4, wherein the single color comprises one or more of:
one of the plurality of colors, or
a background color of the user interface.

### Claim 6

A method comprising:
processing, using a natural language processing algorithm, text content by associating each of a plurality of portions of the text content with a corresponding one or more of a plurality of categories, wherein each category of the plurality of categories corresponds to a different color of a plurality of colors;
determining, based on the processing, a plurality of confidence values, wherein each confidence value of the plurality of confidence values indicates, for a first portion of the plurality of portions of the text content, a degree of confidence corresponding to a different category of the plurality of categories;
determining, for the first portion of the plurality of portions of the text content, a display color by blending, based on the plurality of confidence values, at least two of the plurality of colors;
generating a user interface comprising a visualization of the text content, wherein the visualization comprises each portion of the plurality of portions of the text content, and wherein the user interface is configured to display the first portion of the plurality of portions of the text content using the display color; and
causing display, by a computing device, of the user interface.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining the display color comprises:
determining a first color, of the plurality of colors, that corresponds to a first category of the plurality of categories;
determining a second color, of the plurality of colors, that corresponds to a second category of the plurality of categories;
determining a first confidence value, of the plurality of confidence values, that corresponds to the first category;
determining a second confidence value, of the plurality of confidence values, that corresponds to the second category; and
generating the display color by combining, based on a comparison of the first confidence value and the second confidence value, the first color and the second color.

### Claim 8 (depends on 6)

The method of claim 6, wherein generating the user interface comprises:
causing the first portion of the plurality of portions of the text content to be displayed such that the at least two of the plurality of colors are shown in different regions of the first portion.

### Claim 9 (depends on 6)

The method of claim 6, wherein determining the display color comprises:
blending, based on the plurality of confidence values, at least two of the plurality of colors with a color of the user interface.

### Claim 10 (depends on 9)

The method of claim 9, wherein the single color comprises one of the plurality of colors.

### Claim 11 (depends on 9)

The method of claim 9, wherein the single color comprises a background color of the user interface.

### Claim 12 (depends on 6)

The method of claim 6, wherein the first portion of the plurality of portions of the text content comprises a single character of the text content.

### Claim 13 (depends on 6)

The method of claim 6, wherein each category of the plurality of categories corresponds to a different possible meaning of the plurality of portions of the text content.

### Claim 14 (depends on 6)

The method of claim 6, wherein determining the display color comprises:
determining, based on one or more of the plurality of confidence values, an opacity of one or more of the at least two of the plurality of colors.

### Claim 15 (depends on 6)

The method of claim 6, wherein determining the display color comprises:
determining a gradient comprising the at least two of the plurality of colors.

### Claim 16

A method comprising:
determining a plurality of categories, wherein each category of the plurality of categories corresponds to a different possible meaning of at least a portion of text content;
determining a plurality of colors, wherein each color of the plurality of colors corresponds to a different category of the plurality of categories;
processing, using a natural language processing algorithm, the text content by associating each of a plurality of portions of the text content with a corresponding one or more of the plurality of categories;
determining, based on the processing, a plurality of confidence values, wherein each confidence value of the plurality of confidence values indicates, for a first portion of the plurality of portions of the text content, a degree of confidence corresponding to a different category of the plurality of categories;
determining, for the first portion of the plurality of portions of the text content, a display color by blending, based on the plurality of confidence values, at least two of the plurality of colors; and
causing display, by a computing device, of a user interface comprising a visualization of the text content, wherein the visualization comprises each portion of the plurality of portions of the text content, and wherein the user interface is configured to display the first portion of the plurality of portions of the text content using the display color.

### Claim 17 (depends on 16)

The method of claim 16, wherein determining the display color comprises:
determining a first color, of the plurality of colors, that corresponds to a first category of the plurality of categories;
determining a second color, of the plurality of colors, that corresponds to a second category of the plurality of categories;
determining a first confidence value, of the plurality of confidence values, that corresponds to the first category;
determining a second confidence value, of the plurality of confidence values, that corresponds to the second category; and
generating the display color by combining, based on a comparison of the first confidence value and the second confidence value, the first color and the second color.

### Claim 18 (depends on 16)

The method of claim 16, wherein causing display of the user interface comprises:
causing the first portion, of the plurality of portions of the text content, to be displayed such that the at least two of the plurality of colors are shown in different regions of the first portion.

### Claim 19 (depends on 16)

The method of claim 16, wherein determining the display color comprises:
selecting, based on determining that a first confidence value corresponding to the first portion of the plurality of portions of the text content satisfies a threshold, a single color as the display color.

### Claim 20 (depends on 19)

The method of claim 19, wherein the single color comprises one or more of:
one of the plurality of colors, or
a background color of the user interface.
