Systems and methods to handle queries comprising a media quote
Systems and methods for handling a query comprising a media quote are provided. One example method includes receiving, at a computing device, an input comprising a query. A media quote is identified based on the query. A media asset is identified based on the identified media quote. An action is performed at the computing device, the action based on the identified media asset.
1. A method comprising:
receiving, at a computing device, a query comprising a media quote,
identifying, from the query, the media quote;
generating a hash of the media quote from the query;
identifying a media asset title associated with the hash of the media quote from a database of media assets;
retrieving, from the database of media assets, a media asset associated with the media asset title, wherein the database of media assets comprises unique hashes of media quotes corresponding to their media asset titles; and
presenting the media asset associated with the media asset title.
2. The method of claim 1 , wherein the identifying, from the query, the media quote comprises:
determining any phonetic and/or lexical variants of the quote; and
identifying media asset titles associated with the variants of the quote.
3. The method of claim 2 , further comprising:
splitting the variants of the quote into one or more segments;
generating a hash for each segment; and
searching these hashes in the database of media assets to identify the corresponding media asset.
4. The method of claim 1 , further comprising:
determining that the query does not include the media quote; and
presenting a notification that indicates an input of a media quote is required.
5. The method of claim 4 , wherein the determining that the query does not include the media quote comprises:
determining words which are common between the query and a plurality of media asset titles;
retrieving, from a database of media assets, media assets associated with the plurality of media asset titles; and
presenting the media assets associated with the plurality of media asset titles.
6. The method of claim 1 , further comprising:
receiving user input selecting the presented media asset; and
outputting the selected media asset on the computing device.
7. The method of claim 1 , wherein the input received is a tactile input.
8. A system comprising control circuitry configured to:
receive a query comprising a media quote,
identify, from the query, the media quote;
generate a hash of the media quote from the query;
identify a media asset title associated with the hash of the media quote from a database of media assets;
retrieve, from the database of media assets, a media asset associated with the media asset title, wherein the database of media assets comprises unique hashes of media quotes corresponding to their media asset titles; and
present the media asset associated with the media asset title.
9. The system of claim 8 , wherein control circuitry is configured to:
determine any phonetic and/or lexical variants of the quote; and
identify media asset titles associated with the variants of the quote to identify, from the query, the media quote.
10. The system of claim 9 , wherein control circuitry is configured to:
split the variants of the quote into one or more segments;
generate a hash for each segment; and
search these hashes in the database of media assets to identify the corresponding media asset.
11. The system of claim 8 , wherein control circuitry is configured to:
determine that the query does not include the media quote; and
present a notification that indicates an input of a media quote is required.
12. The system of claim 11 , wherein, when determining that the query does not include the media quote, control circuitry is configured to:
determine words which are common between the query and a plurality of media asset titles;
retrieve, from a database of media assets, media assets associated with the plurality of media asset titles; and
present the media assets associated with the plurality of media asset titles.
13. The system of claim 8 , wherein control circuitry is configured to:
receive user input selecting the presented media asset; and
output the selected media asset on the computing device.
14. The system of claim 8 , wherein the input received is a tactile input.