bztang-admin/app/common/services/wordanalysis/dict
wuhui_zzw 7378b64c82 修改:生态发展改为销售受益,提取分销商直推奖,生态建设改为服务受益,提取分销商间推奖,生态服务改为经销商受益,提取之前的经销商生态建设奖。 2023-12-15 19:02:45 +08:00
..
not-build 修改:生态发展改为销售受益,提取分销商直推奖,生态建设改为服务受益,提取分销商间推奖,生态服务改为经销商受益,提取之前的经销商生态建设奖。 2023-12-15 19:02:45 +08:00
base_dic_full.dic 初始化 2023-09-25 17:52:31 +08:00
readme.txt 初始化 2023-09-25 17:52:31 +08:00
words_addons.dic 初始化 2023-09-25 17:52:31 +08:00

readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

文件说明:

1、base_dic_full.dic
hash索引 -- 字典带有词频和词性标志。

2、words_addons.dic
s 开头的表示停止词 u 后缀词(地名后缀、数学单位等) n 前导词(姓、汉字数词等) a 后导词(地区,部门等)

3、 not-build/base_dic_full.txt
没编译过的词典源码

4、重新编译词典的方法

<?php

header('Content-Type: text/html; charset=utf-8');

require_once('phpanalysis.class.php');

$pa = new PhpAnalysis('utf-8', 'utf-8', false);
$pa->MakeDict( sourcefile,  16 , 'dict/base_dic_full.dic');

echo "OK";

?>