fukuball / jieba-php

"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.
http://jieba-php.fukuball.com
MIT License
1.32k stars 260 forks source link

利用composer的autoload引用JiebaAnalyse會發生class not found #3

Closed hippolin closed 8 years ago

hippolin commented 8 years ago

使用composer安裝後,透過autoload引用,使用JiebaAnalyse時,會出現下列錯誤訊息:

Class 'Fukuball\JiebaAnalyse' not found

composer.json的設定:

"require-dev": {
  "fukuball/jieba-php": "dev-master"
}
fukuball commented 8 years ago

@hippolin 最新版剛剛以修正此問題,請幫忙試試看,謝謝~

hippolin commented 8 years ago

@fukuball 測試過,沒有發生錯誤,謝謝。