Query processing method, apparatus, server and storage medium

    公开(公告)号:US11216618B2

    公开(公告)日:2022-01-04

    申请号:US16538589

    申请日:2019-08-12

    Abstract: Embodiments of the present disclosure provide a query processing method and an apparatus, a server and a storage medium. The method includes: determining a word vector representation of a query sequence and an entity vector representation of the query sequence respectively based on respective words and respective entities included in the query sequence; determining a word vector representation of a paragraph and an entity vector representation of the paragraph respectively based on respective words and respective entities included in the paragraph; and determining a similarity between the query sequence and the paragraph according to the word vector representation of the query sequence, the entity vector representation of the query sequence, the word vector representation of the paragraph, and the entity vector representation of the paragraph.

    METHOD, APPARATUS, DEVICE AND STORAGE MEDIUM FOR TRAINING MODEL

    公开(公告)号:US20210390428A1

    公开(公告)日:2021-12-16

    申请号:US17119651

    申请日:2020-12-11

    Abstract: The present disclosure discloses a method, apparatus, device, and storage medium for training a model, relates to the technical fields of knowledge graph, natural language processing, and deep learning. The method may include: acquiring a first annotation data set, the first annotation data set including sample data and a annotation classification result corresponding to the sample data; training a preset initial classification model based on the first annotation data set to obtain an intermediate model; performing prediction on the sample data in the first annotation data set using the intermediate model to obtain a prediction classification result corresponding to the sample data; generating a second annotation data set based on the sample data, the corresponding annotation classification result, and the corresponding prediction classification result; and training the intermediate model based on the second annotation data set to obtain a classification model.

    Method, apparatus, device and storage medium for training model

    公开(公告)号:US12175379B2

    公开(公告)日:2024-12-24

    申请号:US17119651

    申请日:2020-12-11

    Abstract: The present disclosure discloses a method, apparatus, device, and storage medium for training a model, relates to the technical fields of knowledge graph, natural language processing, and deep learning. The method may include: acquiring a first annotation data set, the first annotation data set including sample data and a annotation classification result corresponding to the sample data; training a preset initial classification model based on the first annotation data set to obtain an intermediate model; performing prediction on the sample data in the first annotation data set using the intermediate model to obtain a prediction classification result corresponding to the sample data; generating a second annotation data set based on the sample data, the corresponding annotation classification result, and the corresponding prediction classification result; and training the intermediate model based on the second annotation data set to obtain a classification model.

    Method and apparatus for mining general tag, server, and medium

    公开(公告)号:US11409813B2

    公开(公告)日:2022-08-09

    申请号:US16213635

    申请日:2018-12-07

    Abstract: A method and apparatus for mining a general tag, a server and a medium are disclosed. The method can comprise: matching a tag seed rule containing a tag placeholder and an attribute of the tag placeholder with historical search information to determine a matching tag; combining the existing tag seed rule and the matching tag to construct a new search sequence set; and performing a generalization process on search sequences included in the new search sequence set to obtain a new tag seed rule, and returning to perform the operation of matching the new tag seed rule with the historical search information to determine a new tag until the tag and the tag seed rule satisfy a convergence condition. A more comprehensive and profound tag can be mined, and the entire flow of mining the tag can not be dependent on a vertical website.

    Method, apparatus, electronic device and computer readable medium for obtaining answer to question

    公开(公告)号:US11366819B2

    公开(公告)日:2022-06-21

    申请号:US16812062

    申请日:2020-03-06

    Abstract: A method for obtaining an answer to a question is provided. The method may include: acquiring a question; determining at least a part of articles in a preset article database as candidate articles, and determining first scores of the candidate articles respectively, the first score of any of the candidate articles representing a matching degree between the candidate article and the question; determining at least a part of texts in each of the candidate articles as candidate texts, and determining second scores of the candidate texts respectively, the second score of any of the candidate texts representing a matching degree between the candidate text and the question; and determining at least a part of the candidate texts as the answer based on a score set of each of the candidate texts, the score set of any of the candidate texts including the second score and the first score.

    Method and apparatus for generating information

    公开(公告)号:US11055373B2

    公开(公告)日:2021-07-06

    申请号:US16133483

    申请日:2018-09-17

    Abstract: Embodiments of the disclosure disclose a method and apparatus for generating information. A specific embodiment of the method comprises: acquiring a historical click log, the historical click log comprising a historical search term and a clicked historical search result corresponding to the historical search term; determining whether matching clicked historical search results exist in the historical click log; establishing a synonymous relationship between historical search terms corresponding to the matching clicked historical search results, in response to determining the matching clicked historical search results existing in the historical click log; and generating a relational word list based on the established synonymous relationship. The embodiment helps to enrich the content of the relational word list, and improve the coverage of the relational word list.

Patent Agency Ranking