File tree 6 files changed +31
-11
lines changed
main/resources/data/dictionary
test/java/com/github/houbb/opencc4j/bugs
6 files changed +31
-11
lines changed Original file line number Diff line number Diff line change 130
130
| 5 | F | 新增 isTraditional | 2023-03-13 23:32:09 | 单个字符+字符串 |
131
131
| 6 | F | 新增 containsTraditional | 2023-03-13 23:32:09 | 字符串 |
132
132
| 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 | 梁的频率看起来使用更加高。 |
Original file line number Diff line number Diff line change 30
30
31
31
- 支持中国台湾地区繁简体转换
32
32
33
- ### v1.8.0 版本变更
33
+ ### v1.8.1 版本变更
34
34
35
- - 丰富工具类方法
36
-
37
- - 优化繁简体判断逻辑
35
+ - 修正 ` 梁 ` 的转换问题
38
36
39
37
> [ 变更日志] ( CHANGELOG.md )
40
38
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.github.houbb</groupId >
8
8
<artifactId >opencc4j</artifactId >
9
- <version >1.8.0 </version >
9
+ <version >1.8.1 </version >
10
10
11
11
<properties >
12
12
<!-- ============================== All PLUGINS START ==============================-->
28
28
29
29
<!-- ============================== JAR START ==============================-->
30
30
<!-- 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>
33
33
34
34
<!-- other-->
35
35
<jieba-analysis .version>1.0.2</jieba-analysis .version>
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ ECHO "============================= RELEASE START..."
10
10
11
11
:: 版本号信息(需要手动指定)
12
12
:: :: 旧版本名称
13
- SET version = 1.8.0
13
+ SET version = 1.8.1
14
14
:: :: 新版本名称
15
- SET newVersion = 1.8.1
15
+ SET newVersion = 1.8.2
16
16
:: :: 组织名称
17
17
SET groupName = com.github.houbb
18
18
:: :: 项目名称
Original file line number Diff line number Diff line change 895
895
桨 槳
896
896
桩 樁
897
897
桪 樳
898
- 梁 樑 梁
898
+ 梁 梁 樑
899
899
梦 夢
900
900
梼 檮
901
901
梾 棶
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments