This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
ykw
/
hemall.terabimsoft.com.cn
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Rama:
master
Ramas
Etiquetas
master
hemall.terabims...
/
app
/
common
/
services
/
wordanalysis
/
dict
yangkangwei
cbf378a57b
first
%!s(int64=2) %!d(string=hai) anos
..
not-build
cbf378a57b
first
%!s(int64=2) %!d(string=hai) anos
base_dic_full.dic
cbf378a57b
first
%!s(int64=2) %!d(string=hai) anos
readme.txt
cbf378a57b
first
%!s(int64=2) %!d(string=hai) anos
words_addons.dic
cbf378a57b
first
%!s(int64=2) %!d(string=hai) anos
readme.txt
文件说明:
1、base_dic_full.dic
hash索引 -- 字典带有词频和词性标志。
2、words_addons.dic
s 开头的表示停止词 u 后缀词(地名后缀、数学单位等) n 前导词(姓、汉字数词等) a 后导词(地区,部门等)
3、 not-build/base_dic_full.txt
没编译过的词典源码
4、重新编译词典的方法:
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";
?>