Skip to content

Commit

Permalink
add how to uninstall & import util
Browse files Browse the repository at this point in the history
  • Loading branch information
letiantian committed Dec 15, 2015
1 parent 379b090 commit a6e61b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@ TextRank算法可以用来从文本中提取关键词和摘要(重要的句子

## 安装

```
```plain
$ git clone https://github.com/someus/TextRank4ZH.git
$ cd TextRank4ZH/
$ sudo python setup.py install
```

如果没有root权限,可以安装到用户目录中:
```
```plain
$ python setup.py install --user
```

## 卸载
```plain
$ pip uninstall textrank4zh
```

## 依赖
jieba >= 0.35
numpy >= 1.7.1
Expand Down
1 change: 1 addition & 0 deletions textrank4zh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
from .TextRank4Keyword import TextRank4Keyword
from .TextRank4Sentence import TextRank4Sentence
from . import Segmentation
from . import util

version = '0.2'

0 comments on commit a6e61b8

Please sign in to comment.