-
```
package main
import (
"log"
"github.com/wangbin/jiebago"
)
var seg jiebago.Segmenter
func main() {
log.Println(seg.CutAll("我来到北京清华大学"))
}
```
```
panic: runtime error: inval…
-
Hi,I use the default jieba tokenizer tool and gensim/jieba keywords extractor tool to preprocess the corppus,but my result is not as good as you ,for example:
mine:['杨清', '孩子', '网友', '母亲', '小孩', '失望透…
-
例如在jieba分词中可以这么用:
jieba.tokenize(u'永和服装饰品有限公司', mode='search')
word 永和 start: 0 end:2
word 服装 start: 2 end:4
word 饰品 st…
-
../vendor/github.com/yanyiwu/gojieba/jieba.cpp:5:10: fatal error: 'cppjieba/Jieba.hpp' file not found
godep之后报文件不存在
-
# Bug report
## Checklist
- [x] I am confident this is a bug in CPython, not a bug in a third-party project
- [x] I have searched the CPython issue tracker, and am confident this bug has not be…
-
Details
Process Process-2:
Traceback (most recent call last):
File "multiprocessing\process.py", line 315, in _bootstrap
File "multiprocessing\process.py", line 108, in run
File "D:\Too…
-
(报错)运行官方代码:
```
import jieba
jieba.enable_paddle()# 启动paddle模式。 0.40版之后开始支持,早期版本不支持
strs=["我来到北京清华大学","乒乓球拍卖完了","中国科学技术大学"]
for str in strs:
seg_list = jieba.cut(str,use_paddle=True) # 使用p…
-
一个很奇怪的问题
我的代码如下:
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
sys.path.append("../")
import jieba
jieba.setLogLevel(60)
jieba.load_userdict("dict.txt")
import jieba.analyse
test_sent = sys…
-
```
put jieba-test
{
"settings": {
"analysis": {
"analyzer": {
"my_ana": {
"tokenizer": "jieba_index",
"filter": [
"lowercase"
]…
-
day10安装jieba第三方库成功后,运行程序,可以正常运作。
在调用tang300.json时,不能读取文件位置,按照issues上的提示,用VS找到自己的用户名位置,再打开。此时再运行程序,程序报错:No module named 'jieba'。意思是:没有名为“jieba”的模块
这时退出VS,再进入VS,再运行程序,jieba运行正常,但是tang300.json的位置找不到。