首页>
外国专利>
Text generation method based on semantic expression, text generating apparatus based on semantic representation, electronic apparatus, non-temporary computer readable storage medium, and computer program
Text generation method based on semantic expression, text generating apparatus based on semantic representation, electronic apparatus, non-temporary computer readable storage medium, and computer program
Problem to be solved: to provide a text generation method based on the semantic representation, a text generating apparatus based on the semantic representation, an electronic apparatus, a non-temporary computer readable storage medium and a computer program.A text generating method is a step 101 for acquiring an input text.The step 102 retrieves the placeholder of the ith predictable word from the target text, the corresponding placeholder, the source text, and the first to i-th predicted words The vector representation of the ith predictable word is obtained by acquiring a vector representation of the ith predictable word which is calculated by the self attention mechanism.A step 104 for generating an ith predicted word based on a vector representation of the ith predictable word to obtain the target text.Diagram
展开▼