Attention-based LSTM model with the Aspect information to solve financial opinion mining problem ( WWW 2018 shared task1 )
- python >=3.5
- tensorflow
- numpy
- pickle
- nltk
- gensim
run the script to finish preprocessing:
sh preprocess.sh
- aspect classification
python train_aspect.py
- sentiment analysis
python train_senti.py model_type # eg. python train_senti.py DeepMem, options are DeepMem or AT_LSTM