首页>
外国专利>
NAMED ENTITY RECOGNITION METHOD AND APPARATUS, TERMINAL DEVICE AND STORAGE MEDIUM
NAMED ENTITY RECOGNITION METHOD AND APPARATUS, TERMINAL DEVICE AND STORAGE MEDIUM
展开▼
机译:命名实体识别方法和装置,终端设备和存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
A named entity recognition method and apparatus, a terminal device and a storage medium, which are applicable to the technical field of computers. Said method comprises: acquiring text to be recognized, and converting said text into a n×k-dimensional first matrix (S301); performing convolution of multiple convolution layers on the first matrix, wherein a convolution operation is performed four times on the last convolution layer, of which the number of channels of the convolution kernel is m, so as to obtain four parallel n×m-dimensional second matrices (S302); performing attention weight adaptation on three second matrices of the four second matrices to obtain an n×m-dimensional third matrix, and performing matrix addition on the third matrix and the remaining second matrix to output an n×m-dimensional fourth matrix (S303); classifying the fourth matrix, and outputting an entity label corresponding to said text; and according to the entity label, outputting a named entity corresponding to said text. By introducing an attention mechanism in the convolution layer, the data redundancy is effectively reduced, and the recognition speed of named entities is increased.
展开▼