Summary generation method and apparatus

    公开(公告)号:US11687715B2

    公开(公告)日:2023-06-27

    申请号:US16890685

    申请日:2020-06-02

    IPC分类号: G06F40/258 G06F40/289

    CPC分类号: G06F40/289 G06F40/258

    摘要: Embodiments of the application disclose a summary generation method and apparatus. A specific embodiment of the method comprises: acquiring a target article including a headline and a body of the article; determining whether a question is included in the headline; determining, in the body of the article, an information-satisfied-paragraph including an answer to the question, in response to determining that the question is included in the headline; and generating a summary of the target article based on the determined information-satisfied-paragraph. The above embodiment may generate a summary that directly satisfies the users' demand for information.

    METHOD FOR GENERATING SUMMARY, ELECTRONIC DEVICE AND STORAGE MEDIUM THEREOF

    公开(公告)号:US20220092252A1

    公开(公告)日:2022-03-24

    申请号:US17212331

    申请日:2021-03-25

    摘要: A method for generating a summary, an electronic device and a storage medium thereof, which relate to the natural language processing field, the deep learning field and the knowledge graph field, are disclosed. The method may include: acquiring a knowledge graph corresponding to a text to be processed, in the graph, nodes represent semantic concepts, and sides represent semantic relationships among the semantic concepts; encoding the text at a token level to obtain a context encoded representation of each token; determining an initial representation of each node in the knowledge graph according to the context encoded representation of each token; performing an encoding operation according to the initial representation of each node and the connection relationships among the nodes to obtain a node representation of each node; and performing a decoding operation according to the node representation of each node to obtain the summary of the text to be processed.

    Document recommendation method and device based on semantic tag

    公开(公告)号:US11216504B2

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

    申请号:US16705749

    申请日:2019-12-06

    摘要: A document recommendation method based on a semantic tag and a document recommendation device. The method includes: for each document, acquiring a first candidate tag set corresponding to the document, and processing each first candidate tag in the first candidate tag set corresponding to the document to obtain a second candidate tag set corresponding to the document; performing normalization processing on each second candidate tag in the second candidate tag set corresponding to the document to obtain a third candidate tag set corresponding to the document; performing expanding process on each third candidate tag in the third candidate tag set corresponding to the document, and acquiring a fourth candidate tag set corresponding to the document, to form a document library having semantic tags; and recommending a target document obtained from the document library having semantic tags to the user, according to historical semantic tag.

    Comment information processing method and apparatus, and medium

    公开(公告)号:US11507751B2

    公开(公告)日:2022-11-22

    申请号:US16938355

    申请日:2020-07-24

    摘要: The present disclosure discloses a comment information processing method and apparatus, and a medium. The specific implementation solution is: in response to a user operation, determining an opinion category corresponding to each opinion phrase in a comment opinion dictionary; obtaining a target corpus matching each opinion phrase from a plurality of comment corpora; for each opinion phrase, using a corresponding opinion category to label the target corpus matching each opinion phrase to obtain a first training sample; and training a classification model with the first training sample to identify the opinion category of a comment by using a trained classification model.

    Artificial intelligence based method and apparatus for determining regional information

    公开(公告)号:US11475055B2

    公开(公告)日:2022-10-18

    申请号:US15942340

    申请日:2018-03-30

    摘要: The present disclosure disclosures an artificial intelligence based method and apparatus for determining regional information. A specific embodiment of the method comprises: acquiring to-be-determined information, and extracting a keyword set of the to-be-determined information; inputting the keyword set of the to-be-determined information into a pre-trained subject classification model for classifying, to obtain a subject category of the to-be-determined information, wherein the subject classification model is used for representing a corresponding relation between the keyword set of the information and the subject category of the information; selecting, from a pre-stored place name set, a place name corresponding to the subject category of the to-be-determined information as a target place name set; matching, in the to-be-determined information, the target place name set; and determining, based on a matching result, whether the to-be-determined information belongs to the regional information.

    Cross-modality processing method and apparatus, and computer storage medium

    公开(公告)号:US11341366B2

    公开(公告)日:2022-05-24

    申请号:US16988774

    申请日:2020-08-10

    摘要: A cross-modality processing method is related to a field of natural language processing technologies. The method includes: obtaining a sample set, wherein the sample set includes a plurality of corpus and a plurality of images; generating a plurality of training samples according to the sample set, in which each of the plurality of the training samples is a combination of at least one of the plurality of the corpus and at least one of the plurality of the images corresponding to the at least one of the plurality of the corpus; adopting the plurality of the training samples to train a semantic model, so that the semantic model learns semantic vectors containing combinations of the corpus and the images.

    Method for recommending text content based on concern, and computer device

    公开(公告)号:US10671656B2

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

    申请号:US15859800

    申请日:2018-01-02

    摘要: A method for recommending a text content based on a concern, a computer device, and a non-transitory computer readable storage medium are provided. The method includes: acquiring a query input by a user, and acquiring a reference text content selected by the user from search results corresponding to the query; generating a term vector of the query according to a term relative to the query in the reference text content; determining the concern of the user from a plurality of reference concerns according to similarities between the term vector of the query and term vectors of the plurality of reference concerns; and recommending the text content matched with the concern to the user.

    Method, electronic device, and storage medium for training text generation model

    公开(公告)号:US11574133B2

    公开(公告)日:2023-02-07

    申请号:US17133381

    申请日:2020-12-23

    IPC分类号: G06F40/56 G06F40/58

    摘要: The disclosure may provide a method for obtaining a document layout, an electronic device, and a storage medium. The method may include: obtaining a plurality of pieces of first sample data; extracting structured information from each of the plurality of pieces of first sample data as target structured information corresponding to each of the plurality of pieces of first sample data; inputting the plurality of pieces of first sample data into an initial text generation model to generate predicted structured information corresponding to each of the plurality of pieces of first sample data; generating a first loss value based on a difference between the predicted structured information corresponding to each of the plurality of pieces of first sample data and the corresponding target structured information; and training a phrase generation ability of the initial text generation model based on the first loss value to generate the text generation model.

    Pre-training method for sentiment analysis model, and electronic device

    公开(公告)号:US11537792B2

    公开(公告)日:2022-12-27

    申请号:US16935040

    申请日:2020-07-21

    摘要: The present disclosure provides a pre-training method for a sentiment analysis model and an electronic device, which relates to a field of artificial intelligence technologies. The method includes: based on a given seed sentiment dictionary, performing sentimental knowledge detection on a training corpus in a training corpus set, and determining a detection sentiment word and a detection word pair of the training corpus; according to preset mask processing rules, performing mask process on the training corpus to generate a masked corpus; performing encoding and decoding on the masked corpus by using a preset encoder and decoder to determine the detection sentiment word and the detection word pair of the training corpus; and updating the preset encoder and decoder according to a difference between prediction sentiment word and the detection sentiment word, and a difference between prediction word pair and the detection word pair.