Learning device of phrase generation model, phrase generation device, method, and program

    公开(公告)号:US11651166B2

    公开(公告)日:2023-05-16

    申请号:US16977422

    申请日:2019-02-22

    IPC分类号: G06F40/40 G06F40/20 G06N3/02

    CPC分类号: G06F40/40 G06F40/20 G06N3/02

    摘要: A learning device of a phrase generation model includes a memory; and a processor configured to execute learning the phrase generation model including an encoder and a decoder, by using, as training data, a 3-tuple. The 3-tuple includes a combination of phrases and at least one of a conjunctive expression representing a relationship between the phrases, and a relational label indicating the relationship represented by the conjunctive expression. The encoder is configured to convert a phrase into a vector from a 2-tuple. The 2-tuple includes a phrase and at least one of the conjunctive expression and the relational label. The decoder is configured to generate, from the converted vector and the conjunctive expression or the relational label, a phrase having the relationship represented by the conjunctive expression or the relational label with respect to the phrase.

    Word vector changing device, method, and program

    公开(公告)号:US11537790B2

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

    申请号:US17046668

    申请日:2019-04-04

    摘要: To arrange all words so that the distance of a given word pair will be appropriate.
    Using as input a concept base 22 which is a set of pairs of a word and a vector representing a concept of the word, and a dictionary 24 which is a set of semantically distant or close word pairs, when a word pair C being a pair of given words A, B in the concept base 22 is present in the dictionary 24, conversion means 30 associates with the word pair C a magnitude D of a difference vector between a difference vector V′ between a converted vector of the word A and a converted vector of the word B, and a vector kV determined by multiplying a difference vector V between the vector of the word A in the concept base 22 and the vector of the word B in the concept base 22 by a scalar value k. When the word pair C is not present in the dictionary 24, the conversion means 30 associates the magnitude D of the difference vector between the difference vector V′ and the difference vector V with the word pair C. The conversion means 30 converts the vector of a given word in the concept base 22 such that a total sum of the magnitude D corresponding to every word pair C is minimized.