An open API service indexing awesome lists of open source software.

https://github.com/enhuiz/text-classification-with-bp-network


https://github.com/enhuiz/text-classification-with-bp-network

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# About the result

a.txt b.txt c.txt is the running result of the classfication

# How to run the program
### 1. configure
please first install the python pacakges: numpy, jieba, nltk
### 2. run
```
$python main.py data/a
```
or
```
$python main.py data/b
```
or
```
$python mainzh.py data/c
```

after you first run the program, the file data will be saved into the folder tmp

next time you can just run
```
$python main.py
```
it will fetch the data loaded last time