This repository contains the source codes for:
Peng-Hsuan Li, Tsu-Jui Fu, and Wei-Yun Ma. 2019. Why Attention? Analyze BiLSTM Deficiency and Its Remedies in the Case of NER. arXiv preprint arXiv:1908.11046 (To appear in AAAI 2020).
evaluate.py # train/test script
model.py # tf==1.14 model file
[dataset].py # data utilities for [dataset]
[dataset]/ # train/validate/test files for [dataset]
CkipTagger: Chinese WS, POS, NER tagger developed alongside this work.