Method and apparatus for outputting information
Abstract:
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.
Public/Granted literature
Information query
Patent Agency Ranking
0/0