├── README.md ├── data ├── data_orign │ └── SemEval2014-Task4 │ │ ├── Website │ │ ├── Task Description Aspect Based Sentiment Analysis (ABSA) ( SemEval-2014 Task 4.html │ │ └── Task Description Aspect Based Sentiment Analysis (ABSA) ( SemEval-2014 Task 4_files │ │ │ └── style.css │ │ ├── data.png │ │ ├── eval │ │ └── semeval14-absa-base-eval-valid │ │ │ ├── README.txt │ │ │ ├── SemEvalSchema.xsd │ │ │ ├── eval.jar │ │ │ └── semeval_base.py │ │ ├── test │ │ ├── ABSA_TestData_PhaseA │ │ │ ├── Laptops_Test_Data_PhaseA.xml │ │ │ └── Restaurants_Test_Data_PhaseA.xml │ │ ├── ABSA_TestData_PhaseB │ │ │ ├── Laptops_Test_Data_phaseB.xml │ │ │ └── Restaurants_Test_Data_phaseB.xml │ │ ├── Laptop_Test.xml │ │ └── Restaurants_Test.xml │ │ ├── train │ │ ├── Laptop_Train_v2.xml │ │ ├── Restaurants_Train_v2.xml │ │ └── SemEval14_ABSA_AnnotationGuidelines.pdf │ │ └── trial │ │ ├── laptops-trial.xml │ │ └── restaurants-trial.xml ├── data_processed │ └── SemEval2014 │ │ ├── laptop-statistic.txt │ │ ├── laptop-test-segment.json │ │ ├── laptop-test.json │ │ ├── laptop-test.xml │ │ ├── laptop-train-segment.json │ │ ├── laptop-train.json │ │ ├── laptop-train.xml │ │ ├── restaurants-statistic.txt │ │ ├── restaurants-test-segment.json │ │ ├── restaurants-test.json │ │ ├── restaurants-test.xml │ │ ├── restaurants-train-segment.json │ │ ├── restaurants-train.json │ │ └── restaurants-train.xml ├── store │ └── glove.840B.300d.txt └── tmp │ └── restaurants14_test.txt ├── data_processing ├── MPQA.py ├── Michell-en.py ├── SemEval2014-Laptop.py ├── SemEval2014-Restaurants.py ├── SemEval2015-Restaurants.py ├── SemEval2016-Restaurants.py ├── Sentihood.py ├── Twitter.py ├── __init__.py ├── __init__.pyc ├── clean.py ├── clean.pyc ├── process2segment.py └── sample.py ├── data_utils.py ├── layers ├── Attention.py ├── Dynamic_GRU.py ├── Dynamic_LSTM.py ├── Dynamic_RNN.py ├── Squeeze_embedding.py └── __init__.py ├── models ├── AE_CNN.py ├── AE_ContextAvg.py ├── ATAE_BiGRU.py ├── ATAE_BiLSTM.py ├── ATAE_GRU.py ├── ATAE_LSTM.py ├── AT_BiGRU.py ├── AT_BiLSTM.py ├── AT_GRU.py ├── AT_LSTM.py ├── BiGRU.py ├── BiLSTM.py ├── CABASC.py ├── CNN.py ├── ContextAvg.py ├── GCAE.py ├── GRU.py ├── HAN.py ├── HAN_PA.py ├── HAN_test.py ├── IAN.py ├── LCRS.py ├── LSTM.py ├── MemNet.py ├── PRET_MULT.py ├── RAM.py ├── TC_LSTM.py ├── TD_LSTM.py ├── TNet.py └── __init__.py ├── results ├── ans │ ├── ContextAvg_laptop14_Adam_0.0005_-1_0.3_False_16_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.0005_-1_0.3_False_32_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.0005_-1_0.5_False_16_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.0005_-1_0.5_False_32_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.001_-1_0.3_False_16_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.001_-1_0.3_False_32_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.001_-1_0.5_False_16_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.001_-1_0.5_False_32_0.1.txt │ ├── ContextAvg_laptop14_Adam_0.001_-1_0.7_False_16_0.1.txt │ └── ContextAvg_laptop14_Adam_0.001_-1_0.7_False_32_0.1.txt ├── attention_weight │ └── weight.txt ├── log │ └── restaurants14_ContextAvg_dev_0.1.log └── model │ └── LSTM.model.txt ├── run.sh ├── train.py └── train_han.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/README.md -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/Website/Task Description Aspect Based Sentiment Analysis (ABSA) ( SemEval-2014 Task 4.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/Website/Task Description Aspect Based Sentiment Analysis (ABSA) ( SemEval-2014 Task 4.html -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/Website/Task Description Aspect Based Sentiment Analysis (ABSA) ( SemEval-2014 Task 4_files/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/Website/Task Description Aspect Based Sentiment Analysis (ABSA) ( SemEval-2014 Task 4_files/style.css -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/data.png -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/README.txt -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/SemEvalSchema.xsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/SemEvalSchema.xsd -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/eval.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/eval.jar -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/semeval_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/eval/semeval14-absa-base-eval-valid/semeval_base.py -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseA/Laptops_Test_Data_PhaseA.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseA/Laptops_Test_Data_PhaseA.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseA/Restaurants_Test_Data_PhaseA.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseA/Restaurants_Test_Data_PhaseA.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseB/Laptops_Test_Data_phaseB.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseB/Laptops_Test_Data_phaseB.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseB/Restaurants_Test_Data_phaseB.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/test/ABSA_TestData_PhaseB/Restaurants_Test_Data_phaseB.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/test/Laptop_Test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/test/Laptop_Test.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/test/Restaurants_Test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/test/Restaurants_Test.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/train/Laptop_Train_v2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/train/Laptop_Train_v2.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/train/Restaurants_Train_v2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/train/Restaurants_Train_v2.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/train/SemEval14_ABSA_AnnotationGuidelines.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/train/SemEval14_ABSA_AnnotationGuidelines.pdf -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/trial/laptops-trial.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/trial/laptops-trial.xml -------------------------------------------------------------------------------- /data/data_orign/SemEval2014-Task4/trial/restaurants-trial.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_orign/SemEval2014-Task4/trial/restaurants-trial.xml -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/laptop-statistic.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/laptop-statistic.txt -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/laptop-test-segment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/laptop-test-segment.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/laptop-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/laptop-test.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/laptop-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/laptop-test.xml -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/laptop-train-segment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/laptop-train-segment.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/laptop-train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/laptop-train.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/laptop-train.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/laptop-train.xml -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/restaurants-statistic.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/restaurants-statistic.txt -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/restaurants-test-segment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/restaurants-test-segment.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/restaurants-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/restaurants-test.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/restaurants-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/restaurants-test.xml -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/restaurants-train-segment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/restaurants-train-segment.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/restaurants-train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/restaurants-train.json -------------------------------------------------------------------------------- /data/data_processed/SemEval2014/restaurants-train.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/data_processed/SemEval2014/restaurants-train.xml -------------------------------------------------------------------------------- /data/store/glove.840B.300d.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/tmp/restaurants14_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data/tmp/restaurants14_test.txt -------------------------------------------------------------------------------- /data_processing/MPQA.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_processing/Michell-en.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/Michell-en.py -------------------------------------------------------------------------------- /data_processing/SemEval2014-Laptop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/SemEval2014-Laptop.py -------------------------------------------------------------------------------- /data_processing/SemEval2014-Restaurants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/SemEval2014-Restaurants.py -------------------------------------------------------------------------------- /data_processing/SemEval2015-Restaurants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/SemEval2015-Restaurants.py -------------------------------------------------------------------------------- /data_processing/SemEval2016-Restaurants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/SemEval2016-Restaurants.py -------------------------------------------------------------------------------- /data_processing/Sentihood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/Sentihood.py -------------------------------------------------------------------------------- /data_processing/Twitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/Twitter.py -------------------------------------------------------------------------------- /data_processing/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data_processing/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/__init__.pyc -------------------------------------------------------------------------------- /data_processing/clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/clean.py -------------------------------------------------------------------------------- /data_processing/clean.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/clean.pyc -------------------------------------------------------------------------------- /data_processing/process2segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/process2segment.py -------------------------------------------------------------------------------- /data_processing/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_processing/sample.py -------------------------------------------------------------------------------- /data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/data_utils.py -------------------------------------------------------------------------------- /layers/Attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/layers/Attention.py -------------------------------------------------------------------------------- /layers/Dynamic_GRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/layers/Dynamic_GRU.py -------------------------------------------------------------------------------- /layers/Dynamic_LSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/layers/Dynamic_LSTM.py -------------------------------------------------------------------------------- /layers/Dynamic_RNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/layers/Dynamic_RNN.py -------------------------------------------------------------------------------- /layers/Squeeze_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/layers/Squeeze_embedding.py -------------------------------------------------------------------------------- /layers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/AE_CNN.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/AE_ContextAvg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/AE_ContextAvg.py -------------------------------------------------------------------------------- /models/ATAE_BiGRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/ATAE_BiGRU.py -------------------------------------------------------------------------------- /models/ATAE_BiLSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/ATAE_BiLSTM.py -------------------------------------------------------------------------------- /models/ATAE_GRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/ATAE_GRU.py -------------------------------------------------------------------------------- /models/ATAE_LSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/ATAE_LSTM.py -------------------------------------------------------------------------------- /models/AT_BiGRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/AT_BiGRU.py -------------------------------------------------------------------------------- /models/AT_BiLSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/AT_BiLSTM.py -------------------------------------------------------------------------------- /models/AT_GRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/AT_GRU.py -------------------------------------------------------------------------------- /models/AT_LSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/AT_LSTM.py -------------------------------------------------------------------------------- /models/BiGRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/BiGRU.py -------------------------------------------------------------------------------- /models/BiLSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/BiLSTM.py -------------------------------------------------------------------------------- /models/CABASC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/CABASC.py -------------------------------------------------------------------------------- /models/CNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/CNN.py -------------------------------------------------------------------------------- /models/ContextAvg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/ContextAvg.py -------------------------------------------------------------------------------- /models/GCAE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/GCAE.py -------------------------------------------------------------------------------- /models/GRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/GRU.py -------------------------------------------------------------------------------- /models/HAN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/HAN.py -------------------------------------------------------------------------------- /models/HAN_PA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/HAN_PA.py -------------------------------------------------------------------------------- /models/HAN_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/HAN_test.py -------------------------------------------------------------------------------- /models/IAN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/IAN.py -------------------------------------------------------------------------------- /models/LCRS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/LCRS.py -------------------------------------------------------------------------------- /models/LSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/LSTM.py -------------------------------------------------------------------------------- /models/MemNet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/MemNet.py -------------------------------------------------------------------------------- /models/PRET_MULT.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/RAM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/RAM.py -------------------------------------------------------------------------------- /models/TC_LSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/TC_LSTM.py -------------------------------------------------------------------------------- /models/TD_LSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/models/TD_LSTM.py -------------------------------------------------------------------------------- /models/TNet.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.3_False_16_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.3_False_16_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.3_False_32_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.3_False_32_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.5_False_16_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.5_False_16_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.5_False_32_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.0005_-1_0.5_False_32_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.3_False_16_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.3_False_16_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.3_False_32_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.3_False_32_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.5_False_16_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.5_False_16_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.5_False_32_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.5_False_32_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.7_False_16_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.7_False_16_0.1.txt -------------------------------------------------------------------------------- /results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.7_False_32_0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/ans/ContextAvg_laptop14_Adam_0.001_-1_0.7_False_32_0.1.txt -------------------------------------------------------------------------------- /results/attention_weight/weight.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /results/log/restaurants14_ContextAvg_dev_0.1.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/results/log/restaurants14_ContextAvg_dev_0.1.log -------------------------------------------------------------------------------- /results/model/LSTM.model.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/run.sh -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/train.py -------------------------------------------------------------------------------- /train_han.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrJZhou/Deep-Learning-for-Aspect-Level-Sentiment-Classification-Baselines/HEAD/train_han.py --------------------------------------------------------------------------------