-
中文分词如:软件
默认必须搜索“软件”才可匹配到,
如何做到搜索其中某一个字也可实现匹配?
-
### `brew config` output
```shell
HOMEBREW_VERSION: 3.1.3-124-g94ce323
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 94ce3236a517dfae6b492dcb4fd6b726a6175e8f
Last commit: 9 hours ago
Core ta…
-
### `brew config` output
```shell
HOMEBREW_VERSION: 3.1.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: ccb05e5e0b7b925c3d6b531fa43b016fa4d0b72a
Last commit: 3 hours ago
Core tap ORIGIN: https:/…
-
when i flash the rom with twrp to system image it says is successfully flashed. But then when i try to reboot the phone with the new rom installed 'AOSP 10.0 v210' it just wont boot up it stays in the…
-
$so = scws_new();
$so->set_charset('utf8');
$so->set_ignore(true);
$so->set_dict('/usr/local/scws/bin/dict.utf8.xdb',SCWS_XDICT_XDB);
$so->add_dict('/usr/lo…
-
test=# create extension zhparser ;
ERROR: incompatible library "/usr/pgsql-11/lib/zhparser.so": version mismatch
DETAIL: Server is version 11, library is version 9.2.
-
yum install clang之后重新make,还是报错
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -f…
-
修改了`$prefix/etc/dict_user.txt`文件
增加了一个词“人武部”
重启了搜索服务`$prefix/bin/xs-ctl.sh -s search restart`
查询用的是`$xs->addQueryString('title:'.$kw,XS_CMD_QUERY_OP_OR);`
但是输入“人武部”搜不到对应的记录。为啥? @hightman
-
看hankcs给出的自定义字典的配置格式是这样的:
data/dictionary/custom/CustomDictionary.txt;CompanyName.txt;school.txt
但实际上这样配置却读不到,程序运行时直接找了根路径+CompanyName.txt文件,
改成:
data/dictionary/custom/CustomDictionary.txt;data/d…
-
Compiling on Windows 10, get this error:
> C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\math.h(700): error C2059: syntax error: '(' (compiling source file ..\src\libscws\scws.c)…