Tochenized cache
AssigneeProdigo Solutions Inc.
InventorsDermot Pope, Aaron Manuel
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.