To address the challenges of identifying rare and complex disease names, (Xu et al., 2019) proposed a method that incorporates both disease dictionary matching and a document-level attention mechanism into BiLSTM-CRF for disease NER.
in Figure 3, the sentences as S C s and S C t contain the word "cough", andh sm andh tn are the corresponding hidden states.