To provide a phrase structure learning device, a phrase structure analysis device and method, and a program which generate learning data for such learning that an attention mechanism accurately outputs correspondence.SOLUTION: In order to allow for generation of learning data for such learning that an attention mechanism which is included in a phrase structure analyzer to output weights of each word in an input sentence for phrase structure labels of respective nodes of a phrase structure tree representing the input sentence accurately outputs correspondences, a phrase structure learning device 200 generates learning data which is for training the attention mechanism and comprises correspondences between words and the phrase structure labels, on the basis of the input sentence and a phrase structure label string comprising the phrase structure labels.SELECTED DRAWING: Figure 15
展开▼