Research Article

An Entity Relation Extraction Method for Few-Shot Learning on the Food Health and Safety Domain

Figure 8

Text similarity calculation structure. The input at the character level and the input at the radical level are transformed by the pretrained model into vectors and . The text similarity is obtained by calculating the distance between the vectors and .