METHOD AND APPARATUS FOR PROCESSING INFORMATION

    公开(公告)号:US20210216725A1

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

    申请号:US17147881

    申请日:2021-01-13

    Abstract: A method and an apparatus for processing information are provided. The method can include: acquiring a word sequence obtained by performing word segmentation on two paragraphs in a text; inputting the word sequence into a to-be-trained natural language processing model to generate a word vector corresponding to a word in the word sequence; inputting the word vector into a preset processing layer of the to-be-trained natural language processing model; predicting whether the two paragraphs are adjacent, and a replaced word in the two paragraphs; and acquiring reference information of the two paragraphs, and training the to-be-trained natural language processing model to obtain a trained natural language processing model, based on the prediction result and the reference information.

    METHOD, APPARATUS, ELECTRONIC DEVICE AND COMPUTER READABLE MEDIUM FOR OBTAINING ANSWER TO QUESTION

    公开(公告)号:US20210011921A1

    公开(公告)日:2021-01-14

    申请号: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.

    QUERY PROCESSING METHOD, APPARATUS, SERVER AND STORAGE MEDIUM

    公开(公告)号:US20200050671A1

    公开(公告)日:2020-02-13

    申请号: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.

Patent Agency Ranking