Source code for AAAI 2022 paper: Unified Named Entity Recognition as Word-Word Relation Classification