Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
luoruixuan committed Nov 12, 2018
1 parent 11ffbd8 commit 64fed89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -20,11 +20,15 @@ PKUSeg

## 编译和安装
1. 从github下载(需要下载模型文件,见[预训练模型](#预训练模型),旧版本代码支持训练)
```
将PKUSeg文件放到目录下,通过import PKUSeg使用
下载的模型需要放到PKUSeg/models目录下(旧版本代码为oldversion/model目录)。
```
2. 通过pip下载(自带模型文件,暂不支持训练)
```
pip install PKUSeg
之后通过import PKUSeg来引用
```

## 各类分词工具包的性能对比
我们选择THULAC、结巴分词等国内代表分词工具包与PKUSeg做性能比较。我们选择Linux作为测试环境,在新闻数据(MSRA)和混合型文本(CTB8)数据上对不同工具包进行了准确率测试。我们使用了第二届国际汉语分词评测比赛提供的分词评价脚本。评测结果如下:
Expand Down

0 comments on commit 64fed89

Please sign in to comment.