增加use_main_dict配置选项,可配置是否加载主词典。
This commit is contained in:
parent
5068a58e0f
commit
cd43d4b9ee
@ -2,10 +2,10 @@
|
|||||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||||
<properties>
|
<properties>
|
||||||
<comment>IK Analyzer 扩展配置</comment>
|
<comment>IK Analyzer 扩展配置</comment>
|
||||||
<!--用户可以在这里配置自己的扩展字典 -->
|
<!-- 配置是否加载默认词典 -->
|
||||||
|
<entry key="use_main_dict">true</entry>
|
||||||
|
<!-- 配置自己的扩展字典,多个用分号分隔 -->
|
||||||
<entry key="ext_dict">ext.dic;</entry>
|
<entry key="ext_dict">ext.dic;</entry>
|
||||||
|
<!-- 配置自己的扩展停止词字典,多个用分号分隔 -->
|
||||||
<!--用户可以在这里配置自己的扩展停止词字典-->
|
|
||||||
<entry key="ext_stopwords">stopword.dic;</entry>
|
<entry key="ext_stopwords">stopword.dic;</entry>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
Loading…
x
Reference in New Issue
Block a user