Skip to content

Commit

Permalink
文档
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Aug 22, 2015
1 parent 1ca7f13 commit 7ad4101
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ hanlp-solr-plugin
HanLP中文分词solr插件
----------------------

- 整合方法
0.```hanlp-portable-${version}.jar``````hanlp-solr-plugin-${version}.jar```共两个jar放入```${webapp}/WEB-INF/lib```
## 整合方法
0.[hanlp-portable-${version}.jar](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.hankcs%22%20AND%20a%3A%22hanlp%22)```hanlp-solr-plugin-${version}.jar```共两个jar放入```${webapp}/WEB-INF/lib```
0. 修改solr core的配置文件```${core}/conf/schema.xml```
```
<fieldType name="text_cn" class="solr.TextField">
Expand All @@ -14,8 +14,8 @@ HanLP中文分词solr插件
</fieldType>
```
- 配置方法
HanLP分词器主要通过class path下的```hanlp.properties```进行配置,请阅读HanLP自然语言处理包文档以了解更多
## 配置方法
HanLP分词器主要通过class path下的```hanlp.properties```进行配置,请阅读[HanLP自然语言处理包文档](https://github.com/hankcs/HanLP)以了解更多
- 版权
## 版权
Apache License Version 2.0

0 comments on commit 7ad4101

Please sign in to comment.