Skip to content

Commit 72ccfad

Browse files
author
binbin.hou
committed
release branch 1.8.1
1 parent 6437b74 commit 72ccfad

File tree

6 files changed

+31
-11
lines changed

6 files changed

+31
-11
lines changed

Diff for: CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,10 @@
130130
| 5 | F | 新增 isTraditional | 2023-03-13 23:32:09 | 单个字符+字符串 |
131131
| 6 | F | 新增 containsTraditional | 2023-03-13 23:32:09 | 字符串 |
132132
| 7 | D | 移除废弃的方法 | 2023-03-13 23:32:09 | 避免一直携带垃圾代码 |
133-
| 8 | O | 繁简体判断逻辑优化 | 2023-03-13 23:32:09 | 更加符合直觉 |
133+
| 8 | O | 繁简体判断逻辑优化 | 2023-03-13 23:32:09 | 更加符合直觉 |
134+
135+
# release_1.8.1
136+
137+
| 编号 | 类型 | 变化 | 时间 | 备注 |
138+
|:----|:--|:-------------|:--------------------|:---------|
139+
| 1 | F | 修正 `` 字的优先级 | 2023-03-29 23:32:09 | 梁的频率看起来使用更加高。 |

Diff for: README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@
3030

3131
- 支持中国台湾地区繁简体转换
3232

33-
### v1.8.0 版本变更
33+
### v1.8.1 版本变更
3434

35-
- 丰富工具类方法
36-
37-
- 优化繁简体判断逻辑
35+
- 修正 `` 的转换问题
3836

3937
> [变更日志](CHANGELOG.md)
4038

Diff for: pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.github.houbb</groupId>
88
<artifactId>opencc4j</artifactId>
9-
<version>1.8.0</version>
9+
<version>1.8.1</version>
1010

1111
<properties>
1212
<!--============================== All PLUGINS START ==============================-->
@@ -28,8 +28,8 @@
2828

2929
<!--============================== JAR START ==============================-->
3030
<!--inter-->
31-
<heaven.version>0.1.169</heaven.version>
32-
<nlp-common.version>0.0.4</nlp-common.version>
31+
<heaven.version>0.2.0</heaven.version>
32+
<nlp-common.version>0.0.5</nlp-common.version>
3333

3434
<!--other-->
3535
<jieba-analysis.version>1.0.2</jieba-analysis.version>

Diff for: release.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ ECHO "============================= RELEASE START..."
1010

1111
:: 版本号信息(需要手动指定)
1212
:::: 旧版本名称
13-
SET version=1.8.0
13+
SET version=1.8.1
1414
:::: 新版本名称
15-
SET newVersion=1.8.1
15+
SET newVersion=1.8.2
1616
:::: 组织名称
1717
SET groupName=com.github.houbb
1818
:::: 项目名称

Diff for: src/main/resources/data/dictionary/STCharacters.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@
895895
桨 槳
896896
桩 樁
897897
桪 樳
898-
樑 梁
898+
梁 樑
899899
梦 夢
900900
梼 檮
901901
梾 棶
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.github.houbb.opencc4j.bugs;
2+
3+
import com.github.houbb.opencc4j.util.ZhConverterUtil;
4+
import org.junit.Assert;
5+
import org.junit.Test;
6+
7+
public class Bug39Test {
8+
9+
// 只是 梁的概率更高
10+
@Test
11+
public void test() {
12+
String text = ZhConverterUtil.toTraditional("梁非凡");
13+
Assert.assertEquals("梁非凡", text);
14+
}
15+
16+
}

0 commit comments

Comments
 (0)