# US 2010/0169361 A1 · Methods and apparatus for generating a data dictionary

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

- Number: US 2010/0169361 A1
- Document ID: US20100169361A1
- Status: Published application
- Kind: A1
- Application number: 12/347,938
- Filed: 2008-12-31
- Published: 2010-07-01
- Earliest claimed: 2008-12-31
- Assignees: eBay Inc.
- Inventors: Yan Chen; Joe Anthony Beynon; Baruch Perlov; Sanjay Pundlkrao Ghatare; Alvaro Bolivar; Nishith Parikh; Karin Mauge; Guanglei Song
- Web page: https://patentgrep.com/patent/US20100169361A1

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 16/36: Creation of semantic tools, e.g. ontology or thesauri
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is provided a method and system generate a data dictionary for searching data items stored in an information resource. In one embodiment, the system generates a list of synonyms for keywords entered in search queries to the system. A keyword and synonym form a token pair. Token pairs are evaluated according to a bidirectional divergence value calculated for distributions of search results, wherein the searches are based on the token pairs. Token pairs are then selected based on the divergence value. The selected token pairs are compiled into a data dictionary. In one embodiment, the data dictionary is a synonym dictionary used for user search query expansion to find matching items.

## Claims

### Claim 1

A method, comprising:
executing instructions on a computing platform for:
receiving search query inputs to search a database of data items, the database having an associated data dictionary of terms to add to the search query inputs for searching the database;
generating a set of token pairs based on the search query inputs, each token pair comprising a keyword from at least one search query input and a token, the token being a synonym of the keyword;
validating the set of token pairs by:
calculating a bi-directional divergence measure for the each of the token pairs, the bi-directional divergence being a predictability indicator for the token pairs for use in a search query; and
comparing the bi-directional divergence measure for each of the token pairs to a first limit, wherein a token pair having a bidirectional divergence measure below the first limit is a valid token pair for the data dictionary;
entering validated token pairs into the data dictionary to form an updated data dictionary; and
applying the updated data dictionary to search queries.

### Claim 2 (depends on 1)

The method of claim 1, calculating a bi-directional divergence measure comprises:
performing a search using a keyword of a token pair as a search criteria;
determining a first distribution (P) of search results for the keyword, the first distribution over a plurality of categories;
performing a search using a token of the token pair as a search criteria;
determining a second distribution (Q) of search results for the token, the second distribution over the plurality of categories;
calculating the bidirectional divergence measure as an Information Radius (IRad) as:
JS(P,Q)=0.5[D(P∥avg(P,Q))+D(Q∥avg(P,Q))],
wherein D is calculated as:
D(P∥Q)=ΣP(i)log(P(i)/Q(i)),
wherein an index i=1, 2, . . . N, and N is the number of categories in the plurality of categories.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating a set of token pairs results in a plurality of token pairs having a same keyword.

### Claim 4 (depends on 2)

The method of claim 2, further comprising generating a report of the IRad values, the report comprising an IRad value each token pair over multiple categories.

### Claim 5 (depends on 2)

The method of claim 2, wherein validating the set of token pairs further comprises:
calculating a probability divergence value for the token pairs in searching the database;
comparing the divergence value to a divergence threshold, wherein divergence values exceeding the divergence threshold are valid tokens for the data dictionary.

### Claim 6 (depends on 2)

The method of claim 2, wherein the data dictionary is a stemming and transliteration dictionary.

### Claim 7 (depends on 2)

The method of claim 2, further comprising:
applying at least one token generation rule to the validated token pairs to identify invalid token pairs.

### Claim 8 (depends on 7)

The method of claim 7, wherein an invalid token pair is one resulting in a large number of data items in unrelated categories as a result from search.

### Claim 9 (depends on 2)

The method of claim 2, wherein generating the set of token pairs comprises comparing the received search query inputs to description information for data items stored in the database.

### Claim 10 (depends on 2)

The method of claim 2, wherein validating further comprises for each token pair generating a search query for each keyword to generate search results from the data items stored in the database.

### Claim 11 (depends on 2)

The method of claim 2, wherein validating token pairs further comprises comparing the IRad values to a threshold, wherein token pairs having an IRad value exceeding the threshold are discarded and not used in the data dictionary.

### Claim 12

A system including:
a plurality of modules, each module comprising instructions retained on at least one machine-readable storage medium, that when executed by a machine perform identified operations, wherein the modules comprise:
a candidate list generator module to generate a list of keywords from search query information, and to generate token pairs including a keyword from the list of keywords and a token, the token being a synonym of the keyword;
a validation module to calculate a divergence value for each token pair and generate a list of validated token pairs having divergence values within a divergence threshold, the divergence value calculated using a symmetric divergence measure;
a data dictionary module for receiving the validated token pairs as entries in a vocabulary, and for providing the token pairs in response to a search query containing a keyword corresponding to at least one entry in the vocabulary.

### Claim 13 (depends on 12)

The system of claim 12, wherein the symmetric divergence measure is calculated as an Information Radius (IRad) value by:
performing a search using a keyword of a token pair as a search criteria;
determining a first distribution (P) of search results for the keyword, the first distribution over a plurality of categories;
performing a search using a token of the token pair as a search criteria;
determining a second distribution (Q) of search results for the token, the second distribution over the plurality of categories;
calculating the bidirectional divergence measure as an Information Radius (IRad) as:
JS(P,Q)=0.5[D(P∥avg(P,Q))+D(Q∥avg(P,Q))],
wherein D is calculated as:
D(P∥Q)=ΣP(i)log(P(i)/Q(i)),
wherein an index i=1, 2, . . . N, and N is the number of categories in the plurality of categories.

### Claim 14 (depends on 13)

The system of claim 13, wherein the candidate list generator module comprises candidate selection rules, including vocabulary generation rules for processing search query terms to identify keywords, and token generation rules for generating synonyms of the keywords.

### Claim 15 (depends on 14)

The system of claim 14, wherein the candidate list generation module is further adapted to recursively apply candidate selection rules to token pairs.

### Claim 16 (depends on 12)

The system of claim 12, wherein the candidate list generation module is further adapted to receive demand information and supply information, wherein the demand information is to retrieve information from the database and the supply information is descriptor information for data items stored in the database.

### Claim 17 (depends on 16)

The system of claim 16, wherein the system is an ecommerce system, data items represent products sold in the ecommerce system, and a database comprises multiple data items, wherein the products are categorized according to a hierarchy which is included as supply information.

### Claim 18 (depends on 16)

The system of claim 16, each search query uses at least one vocabulary in the data dictionary for searching the database.

### Claim 19

A tangible machine readable medium storing a set of instructions that, when executed by a machine, cause the machine to:
receive search query inputs to search a database of data items, the database having an associated data dictionary of terms to add to the search query inputs for searching the database;
generate a set of candidate token pairs based on the search query inputs;
calculate a symmetric cross entropy value for candidate token pairs;
select at least one token pair according to the symmetric cross entropy value;
build a data dictionary using the at least one token pair; and
applying the data dictionary to search queries.

### Claim 20

A method, comprising:
executing instructions on a computing platform for:
transmitting search query inputs to search a database of data items, the database having an associated data dictionary of terms to add to the search query inputs for searching the database;
receiving a set of token pairs based on the search query inputs, each token pair comprising a keyword from at least one search query input and a token, the token being a synonym of the keyword;
receiving a bi-directional divergence measure for the each of the token pairs, the bi-directional divergence being a predictability indicator for the token pairs for use in a search query;
evaluating the bi-directional divergence measure for each of the token pairs for satisfaction of at least one user criteria;
confirming a token pair based on the satisfaction of the at least one user criteria; and
transmitting confirmation of the confirmed token pair for application in an updated data dictionary, the data dictionary used to search a database.
