fukuball / jieba-php

"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.

Home Page:http://jieba-php.fukuball.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jieba::loadUserDict 問題

michliu opened this issue · comments

Jieba::loadUserDict("/var/www/html/test/jieba/dict/user_dict.txt");
載入後, Posseg::cut($raw_text) 也會參考自定義的嗎?

就程式碼看,Posseg 也會參考自定義