Skip to main content

Table 4 Memory management examples

From: Answering medical questions in Chinese using automatically mined knowledge and deep neural networks: an end-to-end solution

Input

Input type

Memory \(m_i\)

Memory features

\(v_n\)

\(v_i\)

Operations

What disease has symptom: dizzy, vomiting, head Injury

question

concussion hasSymptom dizzy/vomiting

input Similarity: 0.76, used times: 0.017, entities: 3,type: 0001

0

0.83

use memory to answer question

Concussion has symptom: dizzy, vomiting, head injury

knowledge

concussion hasSymptom dizzy/vomiting

input similarity: 0.76, used times: 0.017, entities: 3,type: 0001

0.92

0.83

use input to replace old memory

000000

command for clean

flu needsTest bodyTemperature

input similarity: 0, used times: 0.00, entities: 2,type: 0100

0

0.03

useless memory, forget it