Method and apparatus for outputting information

US11562010B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11562010-B2
Application numberUS-202017024654-A
CountryUS
Kind codeB2
Filing dateSep 17, 2020
Priority dateFeb 12, 2020
Publication dateJan 24, 2023
Grant dateJan 24, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present disclosure provide a method and apparatus for outputting information. A specific embodiment of the method includes: in response to receiving a query, detecting whether there is an entity slot in the query; in response to there being an entity slot in the query, adding the detected entity slot to a candidate slot; detecting, in the query, a relationship-determinative word of an entity; searching in a preset knowledge graph for a peripheral knowledge graph of the candidate slot; and inferring on the basis of the peripheral knowledge graph according to the relationship-determinative word, and outputting an entity word matching the relationship-determinative word.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for outputting information, comprising: in response to receiving a query, detecting whether there is an entity slot in the query; in response to there being an entity slot in the query, adding the detected entity slot to a candidate slot; detecting, in the query, a relationship-determinative word of an entity; searching in a preset knowledge graph for a peripheral knowledge graph of the candidate slot; inferring on the basis of the peripheral knowledge graph according to the relationship-determinative word; outputting an entity word matching the relationship-determinative word; detecting whether there is a demonstrative pronoun in the candidate slot; in response to there being a demonstrative pronoun in the candidate slot, replacing the demonstrative pronoun with an entity word presenting in the most recent session, wherein the demonstrative pronoun is a word class for substituting a noun or a sentence; and feeding back the entity word to a terminal device. 2. The method according to claim 1 , wherein the method further comprises: in response to there being not an entity slot in the query, determining from a historical session an entity slot to add to the candidate slot. 3. The method according to claim 1 , wherein the method further comprises: determining position and relationship of the entity word presenting in the most recent session in the knowledge graph; and determining a new entity word according to the position, the relationship and the candidate slot. 4. The method according to claim 3 , wherein the replacing the demonstrative pronoun with the entity word presenting in the most recent session comprises: in response to a number of entity words presenting in the most recent session exceeding one, finding, according to semantics, an entity word for replacing the demonstrative pronoun, and performing the replacing. 5. The method according to claim 3 , wherein the method further comprises: inferring, on the basis of the peripheral knowledge graph, according to the entity word presenting the most recent session and the relationship-determinative word, and outputting an entity word matching the entity word presenting the most recent session and the relationship-determinative word. 6. An apparatus for outputting information, comprising: at least one processor; and a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising: in response to receiving a query, detecting whether there is an entity slot in the query; in response to there being an entity slot in the query, adding the detected entity slot to a candidate slot; detecting, in the query, a relationship-determinative word of an entity; searching in a preset knowledge graph for a peripheral knowledge graph of the candidate slot; inferring on the basis of the peripheral knowledge graph according to the relationship-determinative word; outputting an entity word matching the relationship-determinative word; detecting whether there is a demonstrative pronoun in the candidate slot; in response to there being a demonstrative pronoun in the candidate slot, replacing the demonstrative pronoun with an entity word presenting in the most recent session, wherein the demonstrative pronoun is a word class for substituting a noun or a sentence; and feeding back the entity word to a terminal device. 7. The apparatus according to claim 6 , wherein the operations further comprise: in response to there being not an entity slot in the query, determining from a historical session an entity slot to add to the candidate slot. 8. The apparatus according to claim 6 , wherein the operations further comprise: determining position and relationship of the entity word presenting in the most recent session in the knowledge graph; and determining a new entity word according to the position, the relationship and the candidate slot. 9. The apparatus according to claim 8 , wherein the replacing the demonstrative pronoun with the entity word presenting in the most recent session comprises: in response to a number of entity words presenting in the most recent session exceeding one, finding, according to semantics, an entity word for replacing the demonstrative pronoun, and performing the replacing. 10. The apparatus according to claim 8 , wherein the operations further comprise: inferring, on the basis of the peripheral knowledge graph, according to the entity word presenting in the most recent session and the relationship-determinative word, and outputting an entity word matching the entity word presenting the most recent session and the relationship-determinative word. 11. A non-transitory computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, causes the processor to perform operations, the operations comprising: in response to receiving a query, detecting whether there is an entity slot in the query; in response to there being an entity slot in the query, adding the detected entity slot to a candidate slot; detecting, in the query, a relationship-determinative word of an entity; searching in a preset knowledge graph for a peripheral knowledge graph of the candidate slot; inferring on the basis of the peripheral knowledge graph according to the relationship-determinative word; outputting an entity word matching the relationship-determinative word; detecting whether there is a demonstrative pronoun in the candidate slot; in response to there being a demonstrative pronoun in the candidate slot, replacing the demonstrative pronoun with an entity word presenting in the most recent session, wherein the demonstrative pronoun is a word class for substituting a noun or a sentence; and feeding back the entity word to a terminal device. 12. The medium according to claim 11 , wherein the operations further comprise: in response to there being not an entity slot in the query, determining from a historical session an entity slot to add to the candidate slot. 13. The medium according to claim 11 , where the operations further comprise: determining position and relationship of the entity word presenting in the most recent session in the knowledge graph; and determining a new entity word according to the position, the relationship and the candidate slot. 14. The medium according to claim 13 , wherein the replacing the demonstrative pronoun with the entity word presenting in the most recent session comprises: in response to a number of entity words presenting in the most recent session exceeding one, finding, according to semantics, an entity word for replacing the demonstrative pronoun, and performing the replacing. 15. The medium according to claim 13 , wherein the operations further comprise: inferring, on the basis of the peripheral knowledge graph, according to the entity word presenting the most recent session and the relationship-determinative word, and outputting an entity word matching the entity word presenting the most recent session and the relationship-determinative word.

Assignees

Inventors

Classifications

  • Inference or reasoning models · CPC title

  • using natural language analysis · CPC title

  • Knowledge representation; Symbolic representation · CPC title

  • Named entity recognition · CPC title

  • Presentation of query results · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11562010B2 cover?
Embodiments of the present disclosure provide a method and apparatus for outputting information. A specific embodiment of the method includes: in response to receiving a query, detecting whether there is an entity slot in the query; in response to there being an entity slot in the query, adding the detected entity slot to a candidate slot; detecting, in the query, a relationship-determinative w…
Who is the assignee on this patent?
Baidu online network technology beijing co ltd, Shanghai Xiaodu Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/3344. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 24 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).