-
提问之前先看一下:https://github.com/wangfenjin/simple/issues/87
我试着在jieba的文件夹下定义词汇,但是没有生效,自定义分词如何使用?
-
```Bash
pip install jieba -U
pip install paddlepaddle -U
```
```Python
import jieba
jieba.enable_paddle()
```
目前jieba和lac不兼容,需要修改。
相关issue : [https://github.com/fxsjy/jieba/issues/901](http…
-
使用 go mod 管理依赖时 不会自动下载 deps 里面的文件 如果使用 go build -mod=vendor 时会出现找不到文件错误
-
**Rasa NLU version** (e.g. `0.7.3`):
最新
**Used backend / pipeline** (`mitie`, `spacy_sklearn`, ...):
config_jieba_mitie_sklearn
**Operating system** (windows, osx, ...):
win10 64
**Issue**:
用ex…
-
I notice that this program use `jieba.cut` to cut Chinese words,but it seems not works well at some time;
egg,use Chinese word `永永远远是龙的传人`,`jieba.cut` will result to `永永远远/是/龙的传人`, but when use `jieb…
-
### bug描述 Describe the Bug
多线程使用jieba+paddle时,会报各类错误/段错误,MemoryError是其中一种
多进程即multiprocessing下运行是OK的,稳定不报错。
```
MemoryError: (ResourceExhausted) Another thread is waitting. (at /paddle/paddle/fl…
-
在python 3.8安装好jieba后,在python中输入以下两行就会报错:
```
import jieba
jieba.enable_paddle()
```
报错信息为:
```
Installing paddle-tiny, please wait a minute......
Looking in indexes: http://mirrors.tencent…
-
作者你好。我在使用jieba_fast的时候发现一个问题,就是在使用自定义词典,jieba_fast的分词结果会和jieba的分词结果有所不同。系统版本为ubuntu18.04,库的版本信息如下:
```
jieba 0.39
jieba-fast 0.53
```
…
-
```
package main
import (
"log"
"github.com/wangbin/jiebago"
)
var seg jiebago.Segmenter
func main() {
log.Println(seg.CutAll("我来到北京清华大学"))
}
```
```
panic: runtime error: inval…
-
Jieba has a function to load a user's dictionary to make word segmentation more accurate to your dictionary of choice, i.e. the cc-cedict dictionary. Here's the function...
jieba.load_userdict(file…