Skip to content

Commit 4dd4a86

Browse files
author
gaozhicheng
committed
更新默认主词典;
1 parent 59b86a3 commit 4dd4a86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/wltea/analyzer/cfg/DefaultConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class DefaultConfig implements Configuration {
4141
/*
4242
* 分词器默认字典路径
4343
*/
44-
private static final String PATH_DIC_MAIN = "dict/magese.dic";
44+
private static final String PATH_DIC_MAIN = "dict/main_dic_2020.dic";
4545
private static final String PATH_DIC_QUANTIFIER = "dict/quantifier.dic";
4646

4747
/*
@@ -55,7 +55,7 @@ public class DefaultConfig implements Configuration {
5555
// 配置属性——扩展停止词典
5656
private static final String EXT_STOP = "ext_stopwords";
5757

58-
private Properties props;
58+
private final Properties props;
5959

6060
// 是否使用smart方式分词
6161
private boolean useSmart;

0 commit comments

Comments
 (0)