# US 2021/0173862 A1 · Systems and methods for generating labeled short text sequences

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

- Number: US 2021/0173862 A1
- Document ID: US20210173862A1
- Status: Published application
- Kind: A1
- Application number: 17/093,722
- Filed: 2020-11-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: Verint Americas Inc.
- Applicants: Verint Americas Inc.
- Inventors: Xinyu Chen; Ian Beaver
- Web page: https://patentgrep.com/patent/US20210173862A1

## CPC

- G06F 16/355: Creation or modification of classes or clusters
- G06F 16/367: {Ontology}
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A set of documents related to a particular topic, industry, or entity are received. Sentences are extract from each document. The sentences are grouped into tuples of one, two, or three consecutive sentences (i.e., short text sequences). The sentence tuples are clustered based on vector representations of the sentences. For each cluster, a set of tuples that best represents or best fits the cluster is selected. These sentence tuples are fed to an ontology to determine ontological entities associated with each tuple. These determined ontological entities are associated with the clusters corresponding to each tuple. The sentence tuples associated with each cluster are labeled based on the ontological entities associated with the cluster. The labeled sentence tuples may then be used for a variety of purposes such as training a model to determine the topic of short text sequences.

## Claims

### Claim 1

A method for automatically generating labeled short text sequences from a document corpus without a human reviewer comprising:
receiving a plurality of documents by a computing device;
for each document of the plurality of documents, extracting a plurality of sentences from the document by the computing device;
for each document of the plurality of documents, generating a plurality of short text sequences from the plurality of sentences extracted from the document by the computing device;
assigning each of the plurality of short text sequences into one or more clusters of a plurality of clusters by the computing device;
determining one or more topics for each cluster based on one or more of the short text sequences associated with the cluster by the computing device; and
for each short text sequence, labeling the short text sequence using the one or more topics determined for the one or more clusters of the plurality of clusters that the short text sequence is assigned to by the computing device.

### Claim 2 (depends on 1)

The method of claim 1, wherein assigning each of the plurality of short text sequences into one or more clusters of the plurality of clusters comprises:
for each short text sequence, generating a vector representation of the short text sequence; and
assigning each of the plurality of short text sequences into one or more clusters of the plurality of clusters based on the vector representations.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining one or more topics for each cluster based on the short text sequences associated with the cluster comprises:
for each short text sequence, calculating the probability that the vector representation of the short text sequence belongs to each cluster;
for each cluster, selecting a subset of the vector representations based on the calculated probabilities;
for each cluster, using an ontology to determine ontological entities associated with the short text sequences corresponding to the vector representations in the selected subset of vector representations for the cluster by the computing device; and
for each cluster, determining the one or more topics based on the determined ontological entities.

### Claim 4 (depends on 1)

The method of claim 1, further comprising training a model using the labeled short text sequences.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
for each plurality of sentences:
calculating a complexity for each sentence in the plurality of sentences; and
removing sentences from the plurality of sentences with a calculated complexity that does not exceed a threshold.

### Claim 6 (depends on 5)

The method of claim 5, wherein the threshold is zero.

### Claim 7 (depends on 5)

The method of claim 5, wherein calculating the complexity for a sentence comprises calculating a number of complex nominals for the sentence.

### Claim 8 (depends on 1)

The method of claim 1, wherein generating the plurality of short text sequences from the plurality of sentences extracted from the document comprises generating a short text sequence from each sentence of the plurality of sentences.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating the plurality of short text sequences from the plurality of sentences extracted from the document comprises generating a short text sequence from each pair of consecutive sentences of the plurality of sentences.

### Claim 10 (depends on 1)

The method of claim 1, wherein generating the plurality of short text sequences from the plurality of sentences extracted from the document comprises generating a short text sequence from each triplet of consecutive sentences of the plurality of sentences.

### Claim 11

A system for automatically generating labeled short text sequences from a document corpus without a human reviewer comprising:
at least one computing device; and
a computer-readable medium storing computer-executable instructions that when executed by the at least one computing device cause the at least one computing device to:
for each document of the plurality of documents, extract a plurality of sentences from the document;
for each document of the plurality of documents, generate a plurality of short text sequences from the plurality of sentences extracted from the document;
assign each of the plurality of short text sequences into one or more clusters of a plurality of clusters;
determine one or more topics for each cluster based on the short text sequences associated with the cluster; and
for each short text sequence, label the short text sequence using the one or more topics determined for the one or more clusters of the plurality of clusters that the short text sequence is assigned to.

### Claim 12 (depends on 11)

The system of claim 11, wherein assigning each of the plurality of short text sequences into one or more clusters of the plurality of clusters comprises:
for each short text sequence, generating a vector representation of the short text sequence; and
assigning each of the plurality of short text sequences into one or more clusters of the plurality of clusters based on the vector representations.

### Claim 13 (depends on 12)

The system of claim 12, wherein determining one or more topics for each cluster based on the short text sequences associated with the cluster comprises:
for each short text sequence, calculating the probability that the vector representation of the short text sequence belongs to each cluster;
for each cluster, selecting a subset of the vector representations based on the calculated probabilities;
for each cluster, using an ontology to determine ontological entities associated with the short text sequences corresponding to the vector representations in the selected subset of vector representations for the cluster; and
for each cluster, determining the one or more topics based on the determined ontological entities.

### Claim 14 (depends on 11)

The system of claim 11, further comprising training a model using the labeled short text sequences.

### Claim 15 (depends on 11)

The system of claim 11, further comprising instructions that when executed by the at least one computing device cause the at least one computing device to:
for each plurality of sentences:
calculate a complexity for each sentence in the plurality of sentences; and
remove sentences from the plurality of sentences with a calculated complexity that does not exceed a threshold.

### Claim 16 (depends on 15)

The system of claim 15, wherein the threshold is zero.

### Claim 17 (depends on 15)

The system of claim 15, wherein calculating the complexity for a sentence comprises calculating a number of complex nominals for the sentence.

### Claim 18 (depends on 11)

The system of claim 11, wherein generating the plurality of short text sequences from the plurality of sentences extracted from the document comprises generating a short text sequence from each sentence of the plurality of sentences.

### Claim 19 (depends on 11)

The system of claim 11, wherein generating the plurality of short text sequences from the plurality of sentences extracted from the document comprises generating a short text sequence from each pair of consecutive sentences of the plurality of sentences.

### Claim 20

A non-transitory computer-readable medium with instructions stored thereon that when executed by a processor cause the processor to:
for each document of the plurality of documents, extract a plurality of sentences from the document;
for each document of the plurality of documents, generate a plurality of short text sequences from the plurality of sentences extracted from the document;
assign each of the plurality of short text sequences into one or more clusters of a plurality of clusters;
determine one or more topics for each cluster based on the short text sequences associated with the cluster; and
for each short text sequence, label the short text sequence using the one or more topics determined for the one or more clusters of the plurality of clusters that the short text sequence is assigned to.
