├── .gitignore ├── LICENSE ├── README.md ├── images ├── 1-Word2vec_and_Dynamic_RNN-color.png ├── 10-CNN_Classifier-color.png ├── 2-Word2vec-color.png ├── 3-Dynamic_RNN-color.png ├── 4-Lookup_Table-color.png ├── 5-Loss_and_Accuracy-color.png ├── 6-Antispam_Service_Architecture-color.png ├── 7-gRPC-color.png ├── 8-From_Client_to_Server-color.png └── 9-NBOW_and_MLP_Classifier-color.png ├── network ├── README.md ├── cnn_classifier.py ├── mlp_classifier.py └── rnn_classifier.py ├── serving ├── README.md ├── packages │ ├── __init__.py │ └── text_regularization.py ├── serving_cnn.py ├── serving_mlp.py └── serving_rnn.py └── word2vec ├── README.md ├── data └── msglog.tar.gz ├── text2vec.py ├── text_features.py └── word2vec.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/README.md -------------------------------------------------------------------------------- /images/1-Word2vec_and_Dynamic_RNN-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/1-Word2vec_and_Dynamic_RNN-color.png -------------------------------------------------------------------------------- /images/10-CNN_Classifier-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/10-CNN_Classifier-color.png -------------------------------------------------------------------------------- /images/2-Word2vec-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/2-Word2vec-color.png -------------------------------------------------------------------------------- /images/3-Dynamic_RNN-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/3-Dynamic_RNN-color.png -------------------------------------------------------------------------------- /images/4-Lookup_Table-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/4-Lookup_Table-color.png -------------------------------------------------------------------------------- /images/5-Loss_and_Accuracy-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/5-Loss_and_Accuracy-color.png -------------------------------------------------------------------------------- /images/6-Antispam_Service_Architecture-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/6-Antispam_Service_Architecture-color.png -------------------------------------------------------------------------------- /images/7-gRPC-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/7-gRPC-color.png -------------------------------------------------------------------------------- /images/8-From_Client_to_Server-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/8-From_Client_to_Server-color.png -------------------------------------------------------------------------------- /images/9-NBOW_and_MLP_Classifier-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/images/9-NBOW_and_MLP_Classifier-color.png -------------------------------------------------------------------------------- /network/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/network/README.md -------------------------------------------------------------------------------- /network/cnn_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/network/cnn_classifier.py -------------------------------------------------------------------------------- /network/mlp_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/network/mlp_classifier.py -------------------------------------------------------------------------------- /network/rnn_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/network/rnn_classifier.py -------------------------------------------------------------------------------- /serving/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/serving/README.md -------------------------------------------------------------------------------- /serving/packages/__init__.py: -------------------------------------------------------------------------------- 1 | from . import text_regularization 2 | -------------------------------------------------------------------------------- /serving/packages/text_regularization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/serving/packages/text_regularization.py -------------------------------------------------------------------------------- /serving/serving_cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/serving/serving_cnn.py -------------------------------------------------------------------------------- /serving/serving_mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/serving/serving_mlp.py -------------------------------------------------------------------------------- /serving/serving_rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/serving/serving_rnn.py -------------------------------------------------------------------------------- /word2vec/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/word2vec/README.md -------------------------------------------------------------------------------- /word2vec/data/msglog.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/word2vec/data/msglog.tar.gz -------------------------------------------------------------------------------- /word2vec/text2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/word2vec/text2vec.py -------------------------------------------------------------------------------- /word2vec/text_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/word2vec/text_features.py -------------------------------------------------------------------------------- /word2vec/word2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorlayer/text-antispam/HEAD/word2vec/word2vec.py --------------------------------------------------------------------------------