# US 2021/0012428 A1 · System and method for regular expression generation for improved data transfer

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

- Number: US 2021/0012428 A1
- Document ID: US20210012428A1
- Status: Published application
- Kind: A1
- Application number: 16/506,012
- Filed: 2019-07-09
- Published: 2021-01-14
- Earliest claimed: 2019-07-09
- Assignees: Digits Financial, Inc.
- Applicants: Digits Financial, Inc.
- Inventors: Edward Solovey; Brian Hatfield; Jeffrey Hall Seibert, JR.; Wayne Chang
- Web page: https://patentgrep.com/patent/US20210012428A1

## CPC

- G06Q 40/12: Accounting
- G06F 16/95: Retrieval from the web
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for generating regular expressions to identify vendors to enable improved financial data transfer from a first computer system to a second computer system is provided.

## Claims

### Claim 1

A method for transferring financial data from a first computer system to a second computer system, the method comprising the steps of:
receiving, by the second computer system from the first computer system over a network, a set of historical financial data;
creating one or more clusters of the historical financial data;
generating, for each cluster, a regular expression;
storing the generated regular expression in a vendor map data structure in the second computer system, the vendor map data structure associating the generated regular expression with a particular vendor;
receiving, by the second computer system, a new transaction data associated with the financial data; and
using the vendor map data structure to identify the vendor associated with the new transaction data.

### Claim 2 (depends on 1)

The method of claim 1 wherein using the vendor map data structure to identify the vendor associated with the new transaction data comprises matching the new transaction data using the generated regular expression.

### Claim 3 (depends on 1)

The method of claim 1 wherein generating one or more clusters comprises using a Levenshtein distance.

### Claim 4 (depends on 1)

The method of claim 1 wherein the historical financial data comprises credit card transactions.

### Claim 5 (depends on 1)

The method of claim 1 wherein generating, for each cluster, the regular expressions comprises:
tokenizing each string of a particular cluster of the one or more clusters;
building a position map for each string;
identifying common tokens in the strings of the particular cluster;
constructing the regular expression from the identified common tokens.

### Claim 6 (depends on 1)

The method of claim 1 further comprising using the vendor map data structure to identify a category to be associated with the new transaction data.

### Claim 7

A system comprising:
A computer having a processor, the processor executing a transaction management software, the transaction management software configured to:
receive, over a network, a set of historical data, the historical data having a plurality of historical data entries;
create one or more clusters of the set of historical data, each of the one or more clusters having one or more historical data entries associated therewith;
convert each of the one or more clusters into one or more regular expressions;
associate each of the regular expressions with a source identifier.

### Claim 8 (depends on 7)

The system of claim 7 wherein the set of historical data is historical financial transaction data.

### Claim 9 (depends on 7)

The system of claim 7 wherein the clusters are created using a Levenshtein distance.

### Claim 10 (depends on 7)

The system of claim 7 wherein a clustering threshold may be adjusted to create differing numbers of clusters.

### Claim 11 (depends on 7)

The system of claim 7 wherein the transaction management software is further configure to determine if the regular expressions clash.

### Claim 12 (depends on 11)

The system of claim 11 wherein the transaction management software is further configured to adjust a clustering threshold in response to determining that the regular expressions clash.

### Claim 13 (depends on 11)

The system of claim 11 wherein the transaction management software is further configured to:
receive a new data entry;
apply the regular expressions to the receive new data entry;
determine whether one of the regular expression matches the received new data entry; and
in response to determining that one of the regular expressions matches the received new data entry, associate the received new data entry with the source identifier associated with the matched regular expression.

### Claim 14

A computer implemented method comprising the steps of:
receiving, over a network, a set of historical data, the historical data having a plurality of historical data entries;
creating one or more clusters of the set of historical data, each of the one or more clusters having one or more historical data entries associated therewith;
converting each of the one or more clusters into one or more regular expressions;
associating each of the regular expressions with a source identifier.
