# US 2021/0280174 A1 · Systems and methods for interpreting natural language search queries

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

- Number: US 2021/0280174 A1
- Document ID: US20210280174A1
- Status: Published application
- Kind: A1
- Application number: 16/807,415
- Filed: 2020-03-03
- Published: 2021-09-09
- Earliest claimed: 2020-03-03
- Assignees: Rovi Guides, Inc.
- Applicants: Rovi Guides, Inc.
- Inventors: Jeffry Copps Robert Jose; Ajay Kumar Mishra
- Web page: https://patentgrep.com/patent/US20210280174A1

## CPC

- G10L 15/18: using natural language modelling
- G06F 16/243: {Natural language query formulation}
- G06F 16/2455: Query execution
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are described herein for interpreting natural language search queries that account for contextual relevance of words of the search query that would ordinarily not be processed, including, for example, processing each word of the query. Each term is associated with a respective part of speech, and a frequency of occurrence of each term in content metadata is determined. A relevance of each term is then determined based on its respective part of speech and frequency. The natural language search query is then interpreted based on the importance or relevance of each term.

## Claims

### Claim 1

A computer-implemented method for interpreting a natural language search query, the method comprising using processing circuitry for:
receiving the natural language search query;
identifying a plurality of terms in the natural language search query;
associating each terms of the plurality of terms with a respective part of speech;
determining a respective frequency with which each term of the plurality of terms occurs in metadata describing a plurality of content items;
determining a relevance for each term of the plurality of terms based on its respective part of speech and frequency; and
interpreting the natural language search query based on of the relevance of each term.

### Claim 2 (depends on 1)

The method of claim 1, wherein the natural language search query is received from an input device.

### Claim 3 (depends on 1)

The method of claim 1, wherein the natural language search query is received as audio data, then method further comprising transcribing the natural language query into a plurality of words.

### Claim 4 (depends on 1)

The method of claim 1, wherein identifying a plurality of terms in the natural language search query comprises:
splitting the natural language search query into a plurality of words;
analyzing a first word of the plurality of words;
determining, based on analyzing the first word, whether the first word can be part of a phrase;
in response to determining that the first word can be part of a phrase, analyzing the first word together with a second word that immediately follows the first word;
determining, based on analyzing the first word together with the second word, whether the first word and the second word form a phrase together;
in response to determining that the first word and the second word form a phrase together, identifying the first and second word as a single term; and
in response to determining that the first word does not form a phrase with the second word, identifying the first word as single term.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining a respective frequency with which each term of the plurality of terms occurs in metadata describing a plurality of content items comprises:
retrieving the metadata describing a plurality of content items;
counting the total number of words contained in the metadata;
determining the total number of occurrences of each respective term of the plurality of terms; and
calculating, for each term of the plurality of terms, a percentage of the total number of words contained in the metadata corresponding to the total number of occurrences of each respective term of the plurality of terms.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining a relevance of each term of the plurality of terms based on its respective part of speech and frequency comprises:
determining whether the frequency meets or exceeds a threshold frequency;
in response to determining that the frequency meets or exceeds the threshold frequency, determining that the respective term is not relevant; and
in response to determining that the frequency is below the threshold frequency:
determining a relevance factor to the respective term; and
applying a weighting factor to the relevance factor based on the respective part of speech.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining a relevance factor to the respective term comprises dividing the frequency of the respective term by the threshold frequency.

### Claim 8

A system for interpreting a natural language search query, the system comprising control circuitry configured to:
receive the natural language search query;
identify a plurality of terms in the natural language search query;
associate each terms of the plurality of terms with a respective part of speech; determine a respective frequency with which each term of the plurality of terms occurs in metadata describing a plurality of content items;
determine a relevance for each term of the plurality of terms based on its respective part of speech and frequency; and
interpret the natural language search query based on of the relevance of each term.

### Claim 9 (depends on 8)

The system of claim 8, wherein the natural language search query is received from an input device.

### Claim 10 (depends on 8)

The system of claim 8, wherein the natural language search query is received as audio data, and wherein the control circuitry is further configured to transcribe the natural language query into a plurality of words.

### Claim 11 (depends on 8)

The system of claim 8, wherein the control circuitry configured to identify a plurality of terms in the natural language search query is further configured to:
split the natural language search query into a plurality of words;
analyze a first word of the plurality of words;
determine, based on analyzing the first word, whether the first word can be part of a phrase;
in response to determining that the first word can be part of a phrase, analyze the first word together with a second word that immediately follows the first word;
determine, based on analyzing the first word together with the second word, whether the first word and the second word form a phrase together;
in response to determining that the first word and the second word form a phrase together, identify the first and second word as a single term; and
in response to determining that the first word does not form a phrase with the second word, identify the first word as single term.

### Claim 12 (depends on 8)

The system of claim 8, wherein the control circuitry configured to determine a respective frequency with which each term of the plurality of terms occurs in metadata describing a plurality of content items is further configured to:
retrieve the metadata describing a plurality of content items;
count the total number of words contained in the metadata;
determine the total number of occurrences of each respective term of the plurality of terms; and
calculate, for each term of the plurality of terms, a percentage of the total number of words contained in the metadata corresponding to the total number of occurrences of each respective term of the plurality of terms.

### Claim 13 (depends on 8)

The system of claim 8, wherein the control circuitry configured to determine a relevance of each term of the plurality of terms based on its respective part of speech and frequency is further configured to:
determine whether the frequency meets or exceeds a threshold frequency;
in response to determining that the frequency meets or exceeds the threshold frequency, determine that the respective term is not relevant; and
in response to determining that the frequency is below the threshold frequency:
determine a relevance factor to the respective term; and
apply a weighting factor to the relevance factor based on the respective part of speech.

### Claim 14 (depends on 13)

The system of claim 13, wherein the control circuitry configured to determine a relevance factor to the respective term is further configured to divide the frequency of the respective term by the threshold frequency.

### Claim 15

A non-transitory computer-readable medium having non-transitory computer-readable instructions encoded thereon for interpreting a natural language search query that, when executed by control circuitry, cause the control circuitry to:
receive the natural language search query;
identify a plurality of terms in the natural language search query;
associate each terms of the plurality of terms with a respective part of speech;
determine a respective frequency with which each term of the plurality of terms occurs in metadata describing a plurality of content items;
determine a relevance for each term of the plurality of terms based on its respective part of speech and frequency; and
interpret the natural language search query based on of the relevance of each term.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the natural language search query is received from an input device.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the natural language search query is received as audio data, and wherein the execution of the instructions further causes the control circuitry to transcribe the natural language query into a plurality of words.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein execution of the instruction to identify a plurality of terms in the natural language search query further causes the control circuitry to:
split the natural language search query into a plurality of words;
analyze a first word of the plurality of words;
determine, based on analyzing the first word, whether the first word can be part of a phrase;
in response to determining that the first word can be part of a phrase, analyze the first word together with a second word that immediately follows the first word;
determine, based on analyzing the first word together with the second word, whether the first word and the second word form a phrase together;
in response to determining that the first word and the second word form a phrase together, identify the first and second word as a single term; and
in response to determining that the first word does not form a phrase with the second word, identify the first word as single term.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein execution of the instruction to determine a respective frequency with which each term of the plurality of terms occurs in metadata describing a plurality of content items further causes the control circuitry to:
retrieve the metadata describing a plurality of content items;
count the total number of words contained in the metadata;
determine the total number of occurrences of each respective term of the plurality of terms; and
calculate, for each term of the plurality of terms, a percentage of the total number of words contained in the metadata corresponding to the total number of occurrences of each respective term of the plurality of terms.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein execution of the instruction to determine a relevance of each term of the plurality of terms based on its respective part of speech and frequency further causes the control circuitry to:
determine whether the frequency meets or exceeds a threshold frequency;
in response to determining that the frequency meets or exceeds the threshold frequency, determine that the respective term is not relevant; and
in response to determining that the frequency is below the threshold frequency:
determine a relevance factor to the respective term; and
apply a weighting factor to the relevance factor based on the respective part of speech.

### Claim 21 (depends on 20)

The non-transitory computer-readable medium of claim 20, wherein execution of the instruction to determine a relevance factor to the respective term further causes the control circuitry to divide the frequency of the respective term by the threshold frequency.

### Claim at position 22

-28. (canceled)
