METHOD AND APPARATUS FOR NAMED ENTITY RECOGNITION, AND NON-TRANSITORY COMPUTER-READABLE RECORDING MEDIUM

    公开(公告)号:US20230394240A1

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

    申请号:US18326292

    申请日:2023-05-31

    IPC分类号: G06F40/295 G06F40/40

    CPC分类号: G06F40/295 G06F40/40

    摘要: A method and an apparatus for named entity recognition, and a non-transitory computer-readable recording medium are provided. In the method, text elements are traversed according to a text span to obtain candidate entity words. Then, a class to which the candidate entity word belongs is recognized. The recognizing of the class includes generating a prompt template corresponding to the candidate entity word, and concatenating the text to be recognized and the prompt template to obtain a concatenated text; generating vector representations of the text elements in the concatenated text; generating the vector representation of the candidate entity word according to the vector representations of the text elements of each candidate entity word in the concatenated text, and the vector representation of the text element of the mask word; and classifying the vector representation of the candidate entity word to obtain the class of the candidate entity word.

    KNOWLEDGE GRAPH PROCESSING METHOD AND DEVICE

    公开(公告)号:US20180341863A1

    公开(公告)日:2018-11-29

    申请号:US15919355

    申请日:2018-03-13

    IPC分类号: G06N5/02 G06F17/30 G06F17/27

    摘要: Knowledge graph processing method and device are disclosed. The method includes steps of obtaining an entity set containing a first entity, a second entity, and relation information; acquiring text information and image information related to the first entity and the second entity; generating a first structural information vector of the first entity and a second structural information vector of the second entity, and creating a first text information vector of the first entity, a first image information vector of the first entity, a second text information vector of the second entity, and a second image information vector of the second entity; and building a joint loss function so as to attain a first target vector of the first entity, a second target vector of the second entity, and a target relation vector of the relation information between the first entity and the second entity.

    METHOD AND APPARATUS FOR RECOGNIZING INTENTION, AND NON-TRANSITORY COMPUTER-READABLE RECORDING MEDIUM

    公开(公告)号:US20200242486A1

    公开(公告)日:2020-07-30

    申请号:US16739311

    申请日:2020-01-10

    摘要: A method and an apparatus for recognizing an intention, and a non-transitory computer-readable recording medium are provided. The method includes learning vectors of knowledge base elements in corpus samples, and converting the corpus samples into row vectors composed of the vectors of the knowledge base elements in a knowledge base; extracting feature vectors from respective pooling windows in the corpus samples by hierarchical pooling, determining weights positively correlated with similarities between texts within the respective pooling windows and the respective corpus samples, performing weighting on the extracted feature vectors to obtain feature vectors of the respective pooling windows, and obtaining feature vectors of the respective corpus samples composed of the feature vectors of the pooling windows; training a vector-based intention recognition classifier, based on the feature vectors of the corpus samples; and recognizing an intention in querying a corpus, using the trained intention recognition classifier.