├── .gitignore ├── .idea ├── deployment.xml ├── misc.xml ├── modules.xml ├── sentiment_api.iml ├── vcs.xml └── workspace.xml ├── README.md ├── db.sqlite3 ├── manage.py ├── sentiment_api ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── settings.cpython-36.pyc │ ├── urls.cpython-36.pyc │ └── wsgi.cpython-36.pyc ├── settings.py ├── urls.py └── wsgi.py ├── sentiment_bert ├── Bert │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── modeling.cpython-36.pyc │ │ ├── optimization.cpython-36.pyc │ │ ├── run_classifier.cpython-36.pyc │ │ ├── serving_predict.cpython-36.pyc │ │ └── tokenization.cpython-36.pyc │ ├── modeling.py │ ├── optimization.py │ ├── run_classifier.py │ ├── serving_predict.py │ └── tokenization.py ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── admin.cpython-36.pyc │ ├── classifiers.cpython-36.pyc │ ├── models.cpython-36.pyc │ └── views.cpython-36.pyc ├── admin.py ├── apps.py ├── classifiers.py ├── f_dict │ ├── adverb_dict.txt │ ├── conjunction_dict.txt │ ├── denial_dict.txt │ ├── negative_dict.txt │ ├── phrase_dict.txt │ ├── positive_dict.txt │ ├── punctuation_dict.txt │ └── user.dict ├── forms.py ├── migrations │ ├── __init__.py │ └── __pycache__ │ │ └── __init__.cpython-36.pyc ├── models.py ├── multiModel │ └── models.config ├── sa_predict_saved_model.py ├── tests.py └── views.py ├── sentiment_dic ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── admin.cpython-36.pyc │ ├── forms.cpython-36.pyc │ ├── models.cpython-36.pyc │ └── views.cpython-36.pyc ├── admin.py ├── apps.py ├── django.wsgi ├── forms.py ├── migrations │ ├── __init__.py │ └── __pycache__ │ │ └── __init__.cpython-36.pyc ├── models.py ├── templates │ └── index.html ├── tests.py └── views.py └── test.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/deployment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/.idea/deployment.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/sentiment_api.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/.idea/sentiment_api.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/README.md -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/manage.py -------------------------------------------------------------------------------- /sentiment_api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sentiment_api/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_api/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_api/__pycache__/settings.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_api/__pycache__/settings.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_api/__pycache__/urls.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_api/__pycache__/urls.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_api/__pycache__/wsgi.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_api/__pycache__/wsgi.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_api/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_api/settings.py -------------------------------------------------------------------------------- /sentiment_api/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_api/urls.py -------------------------------------------------------------------------------- /sentiment_api/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_api/wsgi.py -------------------------------------------------------------------------------- /sentiment_bert/Bert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sentiment_bert/Bert/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/Bert/__pycache__/modeling.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/__pycache__/modeling.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/Bert/__pycache__/optimization.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/__pycache__/optimization.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/Bert/__pycache__/run_classifier.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/__pycache__/run_classifier.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/Bert/__pycache__/serving_predict.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/__pycache__/serving_predict.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/Bert/__pycache__/tokenization.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/__pycache__/tokenization.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/Bert/modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/modeling.py -------------------------------------------------------------------------------- /sentiment_bert/Bert/optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/optimization.py -------------------------------------------------------------------------------- /sentiment_bert/Bert/run_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/run_classifier.py -------------------------------------------------------------------------------- /sentiment_bert/Bert/serving_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/serving_predict.py -------------------------------------------------------------------------------- /sentiment_bert/Bert/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/Bert/tokenization.py -------------------------------------------------------------------------------- /sentiment_bert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sentiment_bert/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/__pycache__/admin.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/__pycache__/admin.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/__pycache__/classifiers.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/__pycache__/classifiers.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/__pycache__/models.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/__pycache__/models.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/__pycache__/views.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/__pycache__/views.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/admin.py -------------------------------------------------------------------------------- /sentiment_bert/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/apps.py -------------------------------------------------------------------------------- /sentiment_bert/classifiers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/classifiers.py -------------------------------------------------------------------------------- /sentiment_bert/f_dict/adverb_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/adverb_dict.txt -------------------------------------------------------------------------------- /sentiment_bert/f_dict/conjunction_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/conjunction_dict.txt -------------------------------------------------------------------------------- /sentiment_bert/f_dict/denial_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/denial_dict.txt -------------------------------------------------------------------------------- /sentiment_bert/f_dict/negative_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/negative_dict.txt -------------------------------------------------------------------------------- /sentiment_bert/f_dict/phrase_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/phrase_dict.txt -------------------------------------------------------------------------------- /sentiment_bert/f_dict/positive_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/positive_dict.txt -------------------------------------------------------------------------------- /sentiment_bert/f_dict/punctuation_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/punctuation_dict.txt -------------------------------------------------------------------------------- /sentiment_bert/f_dict/user.dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/f_dict/user.dict -------------------------------------------------------------------------------- /sentiment_bert/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/forms.py -------------------------------------------------------------------------------- /sentiment_bert/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sentiment_bert/migrations/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/migrations/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_bert/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/models.py -------------------------------------------------------------------------------- /sentiment_bert/multiModel/models.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/multiModel/models.config -------------------------------------------------------------------------------- /sentiment_bert/sa_predict_saved_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/sa_predict_saved_model.py -------------------------------------------------------------------------------- /sentiment_bert/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/tests.py -------------------------------------------------------------------------------- /sentiment_bert/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_bert/views.py -------------------------------------------------------------------------------- /sentiment_dic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sentiment_dic/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_dic/__pycache__/admin.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/__pycache__/admin.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_dic/__pycache__/forms.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/__pycache__/forms.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_dic/__pycache__/models.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/__pycache__/models.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_dic/__pycache__/views.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/__pycache__/views.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_dic/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/admin.py -------------------------------------------------------------------------------- /sentiment_dic/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/apps.py -------------------------------------------------------------------------------- /sentiment_dic/django.wsgi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/django.wsgi -------------------------------------------------------------------------------- /sentiment_dic/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/forms.py -------------------------------------------------------------------------------- /sentiment_dic/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sentiment_dic/migrations/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/migrations/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sentiment_dic/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/models.py -------------------------------------------------------------------------------- /sentiment_dic/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/templates/index.html -------------------------------------------------------------------------------- /sentiment_dic/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/tests.py -------------------------------------------------------------------------------- /sentiment_dic/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/sentiment_dic/views.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeweiyangxinci/SentimentAnalysis_api/HEAD/test.py --------------------------------------------------------------------------------