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.