# US 2021/0279290 A1 · Tochenized cache

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

- Number: US 2021/0279290 A1
- Document ID: US20210279290A1
- Status: Published application
- Kind: A1
- Application number: 17/318,324
- Filed: 2021-05-12
- Published: 2021-09-09
- Earliest claimed: 2017-03-27
- Assignees: Prodigo Solutions Inc.
- Applicants: Prodigo Solutions Inc.
- Inventors: Dermot Pope; Aaron Manuel
- Web page: https://patentgrep.com/patent/US20210279290A1

## CPC

- G06F 16/90344: {by using string matching techniques}
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 16/24552: {Database cache management}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 40/216: using statistical methods
- G06F 40/295: Named entity recognition
- G06F 2212/45: Caching of specific data in cache memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods of and systems for searching a catalog include parsing the items of the catalog into tokens, determining the frequency with which each token appears in the catalog, and storing the frequencies in a cache. Queries to the catalog are likewise parsed into tokens, and the tokens of the query string are compared to frequency values in the cache to identify a smaller search space within the catalog.

## Claims

### Claim 1

A computer-implemented method of searching a catalog of textual items, comprising:
parsing each textual item of the catalog to determine a set of tokens, wherein a token is a consecutive set of characters having a predetermined length;
storing the each of the tokens in a memory cache;
for each token, storing a frequency value indicative of the frequency with which that token appears in the catalog;
receiving a textual search query;
parsing the textual query into tokens;
selecting an optimal search token from the textual query based on the frequency value of that token in the memory cache;
searching a subset of the catalog for contents of the textual search query, wherein the subset of the catalog is a set of items that include the optimal search token; and
providing a result of the search.

### Claim 2 (depends on 1)

The method of claim 1, wherein the predetermined length is two characters.

### Claim 3 (depends on 1)

The method of claim 1, wherein the predetermined length is three characters.

### Claim 4 (depends on 1)

The method of claim 1, wherein selecting an optimal search token comprises selecting the token having the lowest frequency value in the memory cache.

### Claim 5 (depends on 1)

The of claim 1, wherein selecting an optimal search token comprises selecting a first-parsed token of the textual query having a frequency value in the memory cache that is below a predetermined threshold.

### Claim 6 (depends on 1)

The method of claim 1, wherein selecting an optimal search token comprises:
calculating a probability that a first token of the search query appears adjacent to a second token of the search query; and
selecting a first-parsed first token having a combined frequency value in the memory cache and calculated probability that is below a predetermined threshold.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
storing in the memory cache a list of words that commonly appear in the catalog;
storing, for each word, an associated optimal search token;
parsing the textual query to determine if any word of the query is stored in the list of words and, if so, searching a subset of the catalog for contents of the textual search query, wherein the subset of the catalog is a set of items that include the optimal search token associated with the word of the query.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
storing the textual search query as a first textual search query in the memory cache;
storing the result of the first textual search query search in the memory cache;
receiving a second textual search query; and
determining if the second textual search query matches the first textual search query and, if so, returning the result of the first textual search query.

### Claim 9

A system for searching a catalog of data items stored on a non-transitory computer readable medium, wherein the data items each comprise a set of text characters divisible into a plurality of tokens, each token being a set of consecutive characters of a predetermined length within the data item, the system comprising:
a memory cache having a matrix storing each of the plurality of tokens of the catalog and a frequency value indicative of the frequency with which each token appears in the catalog,
wherein searches of the catalog are limited to a subset of the data items based on the frequency values stored in the memory cache.

### Claim 10 (depends on 9)

The system of claim 9, wherein the predetermined length is three characters.

### Claim 11 (depends on 9)

The system of claim 9, wherein the predetermined length is two characters.

### Claim 12 (depends on 9)

The system of claim 9, wherein the subset of the data items is a set of data items having a token of a textual search query with a lowest frequency value in the memory cache among other tokens of the textual search query.

### Claim 13 (depends on 9)

The system of claim 9, wherein the subset of the data items is a set of data items having a token of a textual search query with a frequency value below a predetermined threshold.

### Claim 14 (depends on 9)

The system of claim 9, wherein the subset of the data items is a set of data items having an optimal token of a textual search query, wherein the optimal token is selected by:
calculating a probability that a first token of the search query appears adjacent to a second token of the search query; and
selecting a first-parsed first token of the search query having a combined frequency value in the memory cache and calculated probability that is below a predetermined threshold.

### Claim 15 (depends on 9)

The system of claim 9, wherein the memory cache further includes a list of words that frequently appear in catalog and an optimal search token for each word of the list.

### Claim 16 (depends on 9)

The system of claim 9, wherein the memory cache further includes a list of prior textual search queries and a search result associated with each prior textual search query of the list.

### Claim 17

A method of searching a catalog of textual items for an item provided by a search query, the method comprising:
dividing the catalog into a plurality of search spaces, wherein each search space corresponds to the set of all items in the catalog containing a specific token;
selecting a search space based on a frequency with which a token of item provided by the search query appears in items of the catalog; and
searching the selected search space for the item provided by the search query.

### Claim 18 (depends on 17)

The method of claim 17, wherein the step of selecting a search space further comprises selecting the search space corresponding to the lowest-frequency token in the item provided by the search.

### Claim 19 (depends on 17)

The method of claim 17, wherein the step of selecting a search space further comprises selecting the search space corresponding to the first token in the item provided by the search query having a frequency lower than a predetermined threshold.

### Claim 20 (depends on 17)

The method of claim 17, wherein the step of selecting a search space further comprises:
calculating a probability that a first token of the item provided by the search query appears adjacent to a second token of the item provided by the search query; and
selecting the search space corresponding to a first-parsed first token of the item provided by the search query that has a combined frequency and calculated probability below a predetermined threshold.
