Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxupku authored Mar 8, 2019
1 parent b149903 commit 3b6dcc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ pkuseg.test('msr_test.raw', 'output.txt', user_dict=None)
```python3
import pkuseg

seg = pkuseg.pkuseg() # 以默认配置加载模型
text = seg.cut('我爱北京天安门') # 进行分词
seg = pkuseg.pkuseg() # 以默认配置加载模型
text = seg.cut('我爱北京天安门') # 进行分词
print(text)
```

Expand All @@ -137,7 +137,7 @@ print(text)
import pkuseg

seg = pkuseg.pkuseg(model_name='medicine') # 程序会自动下载所对应的细领域模型
text = seg.cut('我爱北京天安门') # 进行分词
text = seg.cut('我爱北京天安门') # 进行分词
print(text)
```

Expand Down

0 comments on commit 3b6dcc2

Please sign in to comment.