├── Base_model ├── __init__.py ├── bert │ ├── __init__.py │ ├── modeling.py │ ├── optimization.py │ └── tokenization.py ├── cluener │ ├── README.md │ ├── data_prpcessor_seq.py │ ├── label2id.json │ ├── len_count.json │ ├── ner_predict.json │ ├── ner_predict_large.json │ ├── predict_sequence_label.py │ ├── score.py │ └── train_sequence_label.py ├── coref │ └── __init__.py ├── intention │ ├── __init__.py │ ├── config.py │ └── intent_classifier.py ├── sentiment │ ├── Classifier_utils.py │ ├── config.py │ └── sentiment_classifier_v2.py └── utils │ ├── __init__.py │ └── time_utils.py ├── Base_model_rest ├── Api │ ├── bot │ │ ├── Bot_server.py │ │ └── dingtalkServer.py │ ├── intent │ │ ├── get_intent_result.py │ │ └── intent_server.py │ ├── ner │ │ ├── NER_server.py │ │ └── get_ner_result.py │ ├── nlu │ │ ├── get_nlu_result.py │ │ └── nlu_server.py │ ├── sentiment │ │ ├── Get_sentiment.py │ │ └── Sentiment_cls_server.py │ └── utils │ │ └── LogUtils.py ├── __init__.py └── urls.py ├── Chatbot_Utils ├── __init__.py ├── settings.py ├── urls.py └── wsgi.py ├── README.rst ├── data ├── README.md ├── cluener_predict.json ├── dev.json ├── emotion │ ├── sentiment_test.txt │ ├── sentiment_train.txt │ └── sentiment_valid.txt ├── intention │ ├── test.txt │ ├── train.txt │ └── val.txt ├── nlu输出数据结构.json ├── test.json └── train.json ├── manage.py └── requirements.txt /Base_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/__init__.py -------------------------------------------------------------------------------- /Base_model/bert/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/bert/__init__.py -------------------------------------------------------------------------------- /Base_model/bert/modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/bert/modeling.py -------------------------------------------------------------------------------- /Base_model/bert/optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/bert/optimization.py -------------------------------------------------------------------------------- /Base_model/bert/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/bert/tokenization.py -------------------------------------------------------------------------------- /Base_model/cluener/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/README.md -------------------------------------------------------------------------------- /Base_model/cluener/data_prpcessor_seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/data_prpcessor_seq.py -------------------------------------------------------------------------------- /Base_model/cluener/label2id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/label2id.json -------------------------------------------------------------------------------- /Base_model/cluener/len_count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/len_count.json -------------------------------------------------------------------------------- /Base_model/cluener/ner_predict.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/ner_predict.json -------------------------------------------------------------------------------- /Base_model/cluener/ner_predict_large.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/ner_predict_large.json -------------------------------------------------------------------------------- /Base_model/cluener/predict_sequence_label.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/predict_sequence_label.py -------------------------------------------------------------------------------- /Base_model/cluener/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/score.py -------------------------------------------------------------------------------- /Base_model/cluener/train_sequence_label.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/cluener/train_sequence_label.py -------------------------------------------------------------------------------- /Base_model/coref/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/coref/__init__.py -------------------------------------------------------------------------------- /Base_model/intention/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/intention/__init__.py -------------------------------------------------------------------------------- /Base_model/intention/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/intention/config.py -------------------------------------------------------------------------------- /Base_model/intention/intent_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/intention/intent_classifier.py -------------------------------------------------------------------------------- /Base_model/sentiment/Classifier_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/sentiment/Classifier_utils.py -------------------------------------------------------------------------------- /Base_model/sentiment/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/sentiment/config.py -------------------------------------------------------------------------------- /Base_model/sentiment/sentiment_classifier_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/sentiment/sentiment_classifier_v2.py -------------------------------------------------------------------------------- /Base_model/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/utils/__init__.py -------------------------------------------------------------------------------- /Base_model/utils/time_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model/utils/time_utils.py -------------------------------------------------------------------------------- /Base_model_rest/Api/bot/Bot_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/bot/Bot_server.py -------------------------------------------------------------------------------- /Base_model_rest/Api/bot/dingtalkServer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/bot/dingtalkServer.py -------------------------------------------------------------------------------- /Base_model_rest/Api/intent/get_intent_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/intent/get_intent_result.py -------------------------------------------------------------------------------- /Base_model_rest/Api/intent/intent_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/intent/intent_server.py -------------------------------------------------------------------------------- /Base_model_rest/Api/ner/NER_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/ner/NER_server.py -------------------------------------------------------------------------------- /Base_model_rest/Api/ner/get_ner_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/ner/get_ner_result.py -------------------------------------------------------------------------------- /Base_model_rest/Api/nlu/get_nlu_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/nlu/get_nlu_result.py -------------------------------------------------------------------------------- /Base_model_rest/Api/nlu/nlu_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/nlu/nlu_server.py -------------------------------------------------------------------------------- /Base_model_rest/Api/sentiment/Get_sentiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/sentiment/Get_sentiment.py -------------------------------------------------------------------------------- /Base_model_rest/Api/sentiment/Sentiment_cls_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/sentiment/Sentiment_cls_server.py -------------------------------------------------------------------------------- /Base_model_rest/Api/utils/LogUtils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/Api/utils/LogUtils.py -------------------------------------------------------------------------------- /Base_model_rest/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Base_model_rest/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Base_model_rest/urls.py -------------------------------------------------------------------------------- /Chatbot_Utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chatbot_Utils/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Chatbot_Utils/settings.py -------------------------------------------------------------------------------- /Chatbot_Utils/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Chatbot_Utils/urls.py -------------------------------------------------------------------------------- /Chatbot_Utils/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/Chatbot_Utils/wsgi.py -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/README.rst -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/README.md -------------------------------------------------------------------------------- /data/cluener_predict.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/cluener_predict.json -------------------------------------------------------------------------------- /data/dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/dev.json -------------------------------------------------------------------------------- /data/emotion/sentiment_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/emotion/sentiment_test.txt -------------------------------------------------------------------------------- /data/emotion/sentiment_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/emotion/sentiment_train.txt -------------------------------------------------------------------------------- /data/emotion/sentiment_valid.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/emotion/sentiment_valid.txt -------------------------------------------------------------------------------- /data/intention/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/intention/test.txt -------------------------------------------------------------------------------- /data/intention/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/intention/train.txt -------------------------------------------------------------------------------- /data/intention/val.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/intention/val.txt -------------------------------------------------------------------------------- /data/nlu输出数据结构.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/nlu输出数据结构.json -------------------------------------------------------------------------------- /data/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/test.json -------------------------------------------------------------------------------- /data/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/data/train.json -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/manage.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/charlesXu86/Chatbot_Utils/HEAD/requirements.txt --------------------------------------------------------------------------------