Skip to content

Commit 8bc9970

Browse files
update readme
1 parent 1032942 commit 8bc9970

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

ReadMe.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,32 +39,34 @@ python/dnlp
3939
4040
├─models # 保存训练后的模型
4141
42+
├─scripts # 运行脚本,包括初始化数据集和训练测试等等
43+
│ init_datasets.py # 初始化训练数据
44+
│ cws_ner.py # 进行分词和命名实体识别的训练和使用
45+
│ __init__.py
46+
4247
├─tests # 单元测试
4348
├─utils # 公用函数
4449
constant.py # 一些常量
4550
__init__.py
4651

4752
```
4853

49-
* `python\init_datasets.py`:初始化训练数据
50-
* `python\runner\cws_ner.py`:进行分词和命名实体识别的训练和使用
51-
5254
## 运行
5355

5456
1. 初始化数据
5557

5658
```bash
57-
python python\init_datasets.py
59+
python python\scripts\init_datasets.py
5860
```
5961

6062
2. 训练
6163
```bash
62-
python dnlp\runner\cws_new.py -t
64+
python python\scripts\cws_new.py -t
6365
```
6466

6567
3. 使用
6668
```bash
67-
python dnlp\runner\cws_new.py -p
69+
python python\scripts\cws_new.py -p
6870
```
6971
## 参考论文
7072

@@ -79,6 +81,7 @@ python dnlp\runner\cws_new.py -p
7981

8082
## ToDo-List
8183

84+
- [ ] 完善文档
8285
- [ ] 增加更多算法的实现
8386
- [ ] 支持pip
8487
- [ ] 增加对Java、C++的支持

0 commit comments

Comments
 (0)