# US 8,577,907 B1 · Search queries improved based on query semantic information

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

- Number: US 8,577,907 B1
- Document ID: US8577907B1
- Status: Granted
- Kind: B1
- Application number: 13/244,368
- Filed: 2011-09-24
- Granted: 2013-11-05
- Earliest claimed: 2003-03-03
- Assignees: Google Inc.
- Applicants: Amit Singhal; Mehran Sahami; John Lamping; Marcin Kaszkiel; Monika H Henzinger
- Inventors: Amit Singhal; Mehran Sahami; John Lamping; Marcin Kaszkiel; Monika H Henzinger
- Web page: https://patentgrep.com/patent/US8577907B1

## CPC

- G06F 16/3322: {using system suggestions (G06F16/3325 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A search query for a search engine may be improved by incorporating alternate terms into the search query that are semantically similar to terms of the search query, taking into account information derived from the search query. An initial set of alternate terms that may be semantically similar to the original terms in the search query is generated. The initial set of alternate terms may be compared to information derived from the original search query. One example of such information is a set of documents retrieved in response to a search performed using the initial search query. One or more of the alternate terms may be added to the original search query based on their relationship to the information derived from the original search query.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a search system, a search query;
generating, by the search system, a potential substitute term that is related to a query term of the search query;
identifying, by the search system, an original set of documents that are responsive to the search query;
weighting each potential substitute term that appears in a document in the original set based on a prevalence of the potential substitute term in the original set of documents;
producing a pruned set of terms whose weight satisfies a condition;
determining that the potential substitute term is a member of the pruned set of terms; and
in response to determining that the potential substitute term is a member of the pruned set of terms, modifying, by the search system, the search query to include the potential substitute term.

### Claim 2 (depends on 1)

The method of claim 1, further comprising performing a search for documents based on the modified search query.

### Claim 3 (depends on 1)

The method of claim 1, wherein the pruned set of terms contains terms whose weight is greater than zero.

### Claim 4 (depends on 1)

The method of claim 1, wherein the pruned set of terms contains terms whose weight is greater than a threshold weight.

### Claim 5 (depends on 1)

The method of claim 1, wherein a number of documents in the original set of documents is limited to a specific number of the most relevant documents.

### Claim 6 (depends on 1)

The method of claim 1, wherein weighting each potential substitute term comprises using inverse document frequency to measure the prevalence of the substitute term.

### Claim 7 (depends on 1)

The method of claim 1, wherein weighting each potential substitute term comprises using a number of times the potential substitute terms appears in the original set of documents to measure the prevalence of the substitute term.

### Claim 8

A system comprising:
one or more computers and one or more storage devices storing instructions that are configured, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
receiving a search query;
generating a potential substitute term that is related to a query term of the search query;
identifying an original set of documents that are responsive to the search query;
weighting each potential substitute term that appears in a document in the original set based on a prevalence of the potential substitute term in the original set of documents;
producing a pruned set of terms whose weight satisfies a condition;
determining that the potential substitute term is a member of the pruned set of terms; and
in response to determining that the potential substitute term is a member of the pruned set of terms, modifying the search query to include the potential substitute term.

### Claim 9 (depends on 8)

The system of claim 8, wherein the operations further comprise performing a search for documents based on the modified search query.

### Claim 10 (depends on 8)

The system of claim 8, wherein the pruned set of terms contains terms whose weight is greater than zero.

### Claim 11 (depends on 8)

The system of claim 8, wherein the pruned set of terms contains terms whose weight is greater than a threshold weight.

### Claim 12 (depends on 8)

The system of claim 8, wherein a number of documents in the original set of documents is limited to a specific number of the most relevant documents.

### Claim 13 (depends on 8)

The system of claim 8, wherein weighting each potential substitute term comprises using inverse document frequency to measure the prevalence of the substitute term.

### Claim 14 (depends on 8)

The system of claim 8, wherein weighting each potential substitute term comprises using a number of times the potential substitute terms appears in the original set of documents to measure the prevalence of the substitute term.

### Claim 15

A non-transitory computer-readable storage device storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising:
receiving a search query;
generating a potential substitute term that is related to a query term of the search query;
identifying an original set of documents that are responsive to the search query;
weighting each potential substitute term that appears in a document in the original set based on a prevalence of the potential substitute term in the original set of documents;
producing a pruned set of terms whose weight satisfies a condition;
determining that the potential substitute term is a member of the pruned set of terms; and
in response to determining that the potential substitute term is a member of the pruned set of terms, modifying the search query to include the potential substitute term.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage device of claim 15, wherein the operations further comprise performing a search for documents based on the modified search query.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage device of claim 15, wherein the pruned set of terms contains terms whose weight is greater than zero.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage device of claim 15, wherein the pruned set of terms contains terms whose weight is greater than a threshold weight.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage device of claim 15, wherein a number of documents in the original set of documents is limited to a specific number of the most relevant documents.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage device of claim 15, wherein weighting each potential substitute term comprises using inverse document frequency to measure the prevalence of the substitute term.

### Claim 21 (depends on 15)

The non-transitory computer-readable storage device of claim 15, wherein weighting each potential substitute term comprises using a number of times the potential substitute terms appears in the original set of documents to measure the prevalence of the substitute term.
