The files here are some of the classic tasks in natural language processing using machine learning and deep learning. Only part of the code is posted here due to course regulation.
NER1
-- person name detection only using logistic regressionNER2
-- detection of multiple named entities using HMM and CRFhmm_crf.py
-- part of the code forNER2
Sentiment Analysis
-- sentiment classification using DAN, LSTM and CNN via PyTorchsentiment_classification.py
-- part of the code forSentiment Analysis
Seq2Seq QA
-- question answering through seq-to-seq model with LSTM, attention and beam searchseq2seq.py
-- part of the code forSeq2Seq QA