├── .gitignore ├── README.md ├── classicMethod ├── classic_method.ipynb └── tools │ ├── __init__.py │ ├── labelMap │ ├── __init__.py │ └── labelText.py │ └── tokenizer │ ├── __init__.py │ ├── stopwords.txt │ └── wordCut.py ├── cnn_model.py ├── data ├── __init__.py └── cnews_loader.py └── run_cnn.py /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | data/cnews 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/README.md -------------------------------------------------------------------------------- /classicMethod/classic_method.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/classicMethod/classic_method.ipynb -------------------------------------------------------------------------------- /classicMethod/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classicMethod/tools/labelMap/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classicMethod/tools/labelMap/labelText.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/classicMethod/tools/labelMap/labelText.py -------------------------------------------------------------------------------- /classicMethod/tools/tokenizer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classicMethod/tools/tokenizer/stopwords.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/classicMethod/tools/tokenizer/stopwords.txt -------------------------------------------------------------------------------- /classicMethod/tools/tokenizer/wordCut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/classicMethod/tools/tokenizer/wordCut.py -------------------------------------------------------------------------------- /cnn_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/cnn_model.py -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/cnews_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/data/cnews_loader.py -------------------------------------------------------------------------------- /run_cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward1Chou/Textclassification/HEAD/run_cnn.py --------------------------------------------------------------------------------