├── README.md ├── __pycache__ ├── draw.cpython-36.pyc ├── gcn.cpython-36.pyc ├── load_w2v.cpython-36.pyc ├── loader.cpython-36.pyc ├── trainer.cpython-36.pyc ├── tree.cpython-36.pyc └── vocab.cpython-36.pyc ├── dataset ├── Laptops │ ├── test.json │ ├── train.json │ ├── vocab_dep.vocab │ ├── vocab_pol.vocab │ ├── vocab_pos.vocab │ ├── vocab_post.vocab │ └── vocab_tok.vocab ├── Restaurants │ ├── test.json │ ├── train.json │ ├── vocab_dep.vocab │ ├── vocab_pol.vocab │ ├── vocab_pos.vocab │ ├── vocab_post.vocab │ └── vocab_tok.vocab ├── Restaurants16 │ ├── test.json │ ├── train.json │ ├── vocab_dep.vocab │ ├── vocab_pol.vocab │ ├── vocab_pos.vocab │ ├── vocab_post.vocab │ └── vocab_tok.vocab ├── Tweets │ ├── test.json │ ├── train.json │ ├── vocab_dep.vocab │ ├── vocab_pol.vocab │ ├── vocab_pos.vocab │ ├── vocab_post.vocab │ └── vocab_tok.vocab └── glove │ ├── glove_words.txt │ └── test.py ├── draw.py ├── eval.py ├── gcn.py ├── graph_convolutional_networks_for_sentiment_analysis_.pdf ├── heatmap.py ├── load_w2v.py ├── loader.py ├── mask_exp.py ├── model_framework.png ├── parse_data.py ├── prepare_vocab.py ├── train.py ├── train.sh ├── trainer.py ├── tree.py ├── utils ├── __pycache__ │ ├── helper.cpython-36.pyc │ └── torch_utils.cpython-36.pyc ├── helper.py └── torch_utils.py └── vocab.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/README.md -------------------------------------------------------------------------------- /__pycache__/draw.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/__pycache__/draw.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/gcn.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/__pycache__/gcn.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/load_w2v.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/__pycache__/load_w2v.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/loader.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/__pycache__/loader.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/trainer.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/__pycache__/trainer.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/tree.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/__pycache__/tree.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/vocab.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/__pycache__/vocab.cpython-36.pyc -------------------------------------------------------------------------------- /dataset/Laptops/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Laptops/test.json -------------------------------------------------------------------------------- /dataset/Laptops/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Laptops/train.json -------------------------------------------------------------------------------- /dataset/Laptops/vocab_dep.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Laptops/vocab_dep.vocab -------------------------------------------------------------------------------- /dataset/Laptops/vocab_pol.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Laptops/vocab_pol.vocab -------------------------------------------------------------------------------- /dataset/Laptops/vocab_pos.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Laptops/vocab_pos.vocab -------------------------------------------------------------------------------- /dataset/Laptops/vocab_post.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Laptops/vocab_post.vocab -------------------------------------------------------------------------------- /dataset/Laptops/vocab_tok.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Laptops/vocab_tok.vocab -------------------------------------------------------------------------------- /dataset/Restaurants/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants/test.json -------------------------------------------------------------------------------- /dataset/Restaurants/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants/train.json -------------------------------------------------------------------------------- /dataset/Restaurants/vocab_dep.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants/vocab_dep.vocab -------------------------------------------------------------------------------- /dataset/Restaurants/vocab_pol.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants/vocab_pol.vocab -------------------------------------------------------------------------------- /dataset/Restaurants/vocab_pos.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants/vocab_pos.vocab -------------------------------------------------------------------------------- /dataset/Restaurants/vocab_post.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants/vocab_post.vocab -------------------------------------------------------------------------------- /dataset/Restaurants/vocab_tok.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants/vocab_tok.vocab -------------------------------------------------------------------------------- /dataset/Restaurants16/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants16/test.json -------------------------------------------------------------------------------- /dataset/Restaurants16/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants16/train.json -------------------------------------------------------------------------------- /dataset/Restaurants16/vocab_dep.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants16/vocab_dep.vocab -------------------------------------------------------------------------------- /dataset/Restaurants16/vocab_pol.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants16/vocab_pol.vocab -------------------------------------------------------------------------------- /dataset/Restaurants16/vocab_pos.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants16/vocab_pos.vocab -------------------------------------------------------------------------------- /dataset/Restaurants16/vocab_post.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants16/vocab_post.vocab -------------------------------------------------------------------------------- /dataset/Restaurants16/vocab_tok.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Restaurants16/vocab_tok.vocab -------------------------------------------------------------------------------- /dataset/Tweets/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Tweets/test.json -------------------------------------------------------------------------------- /dataset/Tweets/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Tweets/train.json -------------------------------------------------------------------------------- /dataset/Tweets/vocab_dep.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Tweets/vocab_dep.vocab -------------------------------------------------------------------------------- /dataset/Tweets/vocab_pol.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Tweets/vocab_pol.vocab -------------------------------------------------------------------------------- /dataset/Tweets/vocab_pos.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Tweets/vocab_pos.vocab -------------------------------------------------------------------------------- /dataset/Tweets/vocab_post.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Tweets/vocab_post.vocab -------------------------------------------------------------------------------- /dataset/Tweets/vocab_tok.vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/Tweets/vocab_tok.vocab -------------------------------------------------------------------------------- /dataset/glove/glove_words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/glove/glove_words.txt -------------------------------------------------------------------------------- /dataset/glove/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/dataset/glove/test.py -------------------------------------------------------------------------------- /draw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/draw.py -------------------------------------------------------------------------------- /eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/eval.py -------------------------------------------------------------------------------- /gcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/gcn.py -------------------------------------------------------------------------------- /graph_convolutional_networks_for_sentiment_analysis_.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/graph_convolutional_networks_for_sentiment_analysis_.pdf -------------------------------------------------------------------------------- /heatmap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/heatmap.py -------------------------------------------------------------------------------- /load_w2v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/load_w2v.py -------------------------------------------------------------------------------- /loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/loader.py -------------------------------------------------------------------------------- /mask_exp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/mask_exp.py -------------------------------------------------------------------------------- /model_framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/model_framework.png -------------------------------------------------------------------------------- /parse_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/parse_data.py -------------------------------------------------------------------------------- /prepare_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/prepare_vocab.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/train.py -------------------------------------------------------------------------------- /train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/train.sh -------------------------------------------------------------------------------- /trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/trainer.py -------------------------------------------------------------------------------- /tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/tree.py -------------------------------------------------------------------------------- /utils/__pycache__/helper.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/utils/__pycache__/helper.cpython-36.pyc -------------------------------------------------------------------------------- /utils/__pycache__/torch_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/utils/__pycache__/torch_utils.cpython-36.pyc -------------------------------------------------------------------------------- /utils/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/utils/helper.py -------------------------------------------------------------------------------- /utils/torch_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/utils/torch_utils.py -------------------------------------------------------------------------------- /vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BDBC-KG-NLP/Covolution_over_Dependency_Tree_EMNLP2019/HEAD/vocab.py --------------------------------------------------------------------------------