Skip to content

Commit

Permalink
更新0.3.2 请使用最新版
Browse files Browse the repository at this point in the history
  • Loading branch information
DTC@Cyberbolt authored and DTC@Cyberbolt committed Mar 1, 2021
1 parent 42ac823 commit 0744300
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cemotion-apple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ conda install scikit-learn #安装scikit-learn
```


之后输入以下命令安装cemotion
之后输入以下命令安装Cemotion
```
pip install --upgrade pip
pip install cemotion-apple
Expand Down
3 changes: 1 addition & 2 deletions Cemotion-apple/cemotion/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def download_from_url(url, dst):
file = Request(url,headers=headers)
file_size = int(urlopen(file).info().get('Content-Length', -1))
except Exception as e:
print(e)
print("错误,访问url: %s 异常" % url)
print("Error downloading. Trying again.")
raise 'file not exit'
return False

Expand Down
2 changes: 1 addition & 1 deletion Cemotion-apple/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name="Cemotion-apple",
version="0.3.1",
version="0.3.2",
author="Cyberbolt",
author_email="[email protected]",
description="基于NLP的中文情感倾向分析库",
Expand Down
2 changes: 1 addition & 1 deletion Cemotion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ python -m venv venv #创建虚拟环境
venv\Scripts\activate #激活虚拟环境
```

2.安装cemotion库,依次输入
2.安装Cemotion库,依次输入

```
pip install --upgrade pip
Expand Down
3 changes: 1 addition & 2 deletions Cemotion/cemotion/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def download_from_url(url, dst):
file = Request(url,headers=headers)
file_size = int(urlopen(file).info().get('Content-Length', -1))
except Exception as e:
print(e)
print("错误,访问url: %s 异常" % url)
print("Error downloading. Trying again.")
raise 'file not exit'
return False

Expand Down
2 changes: 1 addition & 1 deletion Cemotion/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name="Cemotion",
version="0.3.1",
version="0.3.2",
author="Cyberbolt",
author_email="[email protected]",
description="基于NLP的中文情感倾向分析库",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ python -m venv venv #创建虚拟环境
venv\Scripts\activate #激活虚拟环境
```

2.安装cemotion库,依次输入
2.安装Cemotion库,依次输入

```
pip install --upgrade pip
Expand Down

0 comments on commit 0744300

Please sign in to comment.