-
结巴分词的分词MixSegment类里面可以指定用户词典,
为什么词性标注里面PosTagger就不能指定用户词典?
这样我如果要用词性标注的那个接口, 而且要支持自己定义的用户词典应该怎么办?
-
cppjieba非常稳定、可靠。
但是,似乎当输入文本超过一定大小的时候,就没有返回,也不会提示出错。下面是python 3.4测试代码:
```
#!/usr/bin/env python3
import urllib.request
import sys
def cut(sentence):
u = "http://127.0.0.1:11200/"
req = url…
ghost updated
10 years ago
-
Ubuntu 12.04LTS
g++: 4.6.4
编译错误信息如下:
In file included from ./include/MixSegment.hpp:5:0,
from demo.cpp:5:
./include/MPSegment.hpp: In member function ‘bool CppJieba::MPSegment::cut(L…
-
\nodejieba\src\cppjieba\Limonp/logger.hpp(42): error C3861: “time”: 找不到标识符
-
RT
-
Is it possible to add user_dict to server by adding a line to the Server.conf?
```
usr_dict_path=/usr/share/CppJieba/dict/user.dict.utf8
```
Sorry I am not familiar with cpp.
Thanks.
ghost updated
10 years ago
-
帮助 文档里面都是在linux 下面的。。请问下 有人在windows下面使用过这个东西么?使用c/c++ 来调用。 本人新手 求指点
-
g++ -c -Wall -O3 keywordext_demo.cpp
In file included from keywordext_demo.cpp:3:
In file included from ./../cppjieba/headers.h:8:
In file included from ./../cppjieba/../cppcommon/headers.h:15:
./../c…
jcccn updated
10 years ago
-
例子里面只有一个key参数,如何选择模式?
-
g++ -std=c++0x -o server server.cpp -L/usr/lib/CppJieba/ -L/usr/lib/CppJieba/Husky -lcppjieba -lhusky -lpthread