Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
endyul committed Apr 28, 2016
1 parent d2a3bb8 commit fba78e3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# pyltp

[![PyPI Status](https://badge.fury.io/py/pyltp.svg)](https://badge.fury.io/py/pyltp)
[![Readthedocs](https://readthedocs.org/projects/pyltp/badge/?version=latest)](http://pyltp.readthedocs.io/)
[![Build Status](https://travis-ci.org/HIT-SCIR/pyltp.svg?branch=master)](https://travis-ci.org/HIT-SCIR/pyltp)
[![Build status](https://ci.appveyor.com/api/projects/status/kp2kjujo4amunyvr/branch/master?svg=true)](https://ci.appveyor.com/project/Oneplus/pyltp/branch/master)
[![PyPI Downloads](https://img.shields.io/pypi/dm/pyltp.svg)](https://pypi.python.org/pypi/pyltp)

pyltp是 [语言技术平台(Language Technology Platform, LTP)](https://github.com/HIT-SCIR/ltp) 的Python封装
pyltp 是 [语言技术平台(Language Technology Platform, LTP)](https://github.com/HIT-SCIR/ltp)的 Python 封装

在使用pyltp之前,您需要简要了解 [语言技术平台(LTP)](http://ltp.readthedocs.org/zh_CN/latest/) 能否帮助您解决问题。
在使用 pyltp 之前,您需要简要了解 [语言技术平台(LTP)](http://ltp.readthedocs.org/zh_CN/latest/) 能否帮助您解决问题。

## 一个简单的例子

下面是一个使用pyltp进行分词的例子
下面是一个使用 pyltp 进行分词的例子

```python
# -*- coding: utf-8 -*-
Expand All @@ -22,15 +23,15 @@ words = segmentor.segment("元芳你怎么看")
print "|".join(words)
segmentor.release()
```
除了分词之外,pyltp还提供词性标注、命名实体识别、依存句法分析、语义角色标注等功能。
除了分词之外,pyltp 还提供词性标注、命名实体识别、依存句法分析、语义角色标注等功能。

详细使用方法请参考 [在线文档](http://ltp-pyltp.readthedocs.org/)
详细使用方法请参考 [在线文档](http://pyltp.readthedocs.io/)

## 安装

* 第一步,安装pyltp
* 第一步,安装 pyltp

使用pip安装
使用 pip 安装

```
$ pip install pyltp
Expand All @@ -46,12 +47,12 @@ segmentor.release()

* 第二步,下载模型文件

[百度云](http://pan.baidu.com/share/link?shareid=1988562907&uk=2738088569),当前模型版本3.3.1
[百度云](http://pan.baidu.com/share/link?shareid=1988562907&uk=2738088569),当前模型版本 3.3.1

## 版本对应

* pyltp 版本:0.1.9
* LTP 版本:3.3.1
* LTP 版本:3.3.2
* 模型版本:3.3.1

## 作者
Expand Down

0 comments on commit fba78e3

Please sign in to comment.