Skip to content

Commit

Permalink
update wiki, and build script
Browse files Browse the repository at this point in the history
  • Loading branch information
piaolingxue committed Mar 26, 2014
1 parent e6487e1 commit 1f7c763
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@
** 支持分词模式
- Search模式,用于对用户查询词分词
- Index模式,用于对索引文档分词

** 特性
- 支持多种分词模式
- 全角统一转成半角
- 用户词典功能
- conf 目录有整理的搜狗细胞词库
- 支持词性标注(感谢 [[https://github.com/linkerlin][@linkerlin]] 的贡献)


* 如何获取
- 当前稳定版本
#+BEGIN_SRC xml
<dependency>
<groupId>com.huaban</groupId>
Expand All @@ -21,6 +30,17 @@
</dependency>
#+END_SRC

- 当前快照版本
- 支持词性标注 [[https://github.com/huaban/jieba-analysis/pull/4][#4]]
- 修复以'-'连接词分词错误问题 [[https://github.com/huaban/jieba-analysis/issues/3][#3]]
#+BEGIN_SRC xml
<dependency>
<groupId>com.huaban</groupId>
<artifactId>jieba-analysis</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
#+END_SRC


* 如何使用
- Demo
Expand Down
6 changes: 6 additions & 0 deletions bin/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

ROOT=`dirname $0`
cd $ROOT/..
mvn package install -DcreateChecksum=true -DskipTests

Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void testCutForIndex() {
public void testBugSentence() {
String[] bugs =
new String[] {
"utf-8",
"UTF-8",
"iphone5",
"鲜芋仙 3",
"RT @laoshipukong : 27日,",
Expand Down

0 comments on commit 1f7c763

Please sign in to comment.