project-yuki / YUKI

YUKI Galgame Translator
GNU General Public License v3.0
1.51k stars 145 forks source link

mecab启动失败,分词功能不能使用 #97

Open yukinotech opened 4 years ago

yukinotech commented 4 years ago

当在这个面板开启mecab时 面板 日志报错(从上往下第6行): yuki:mecab enable failed

  yuki:ipc request saving config config... +9s
  yuki:config F:\YUKI\config\config.json saved +9s
  yuki:merger initialized true +9s
  yuki:textInterceptor initialized +9s
  yuki:textInterceptor initialized +9s
  yuki:mecab enable failed !> Error: Failed to create a new model - param.cpp(69) [ifs] no such file or directory: Àဃ旰ဃ +9s
  yuki:hooker application builded +9s
  yuki:ipc resend config config to window +46ms
  yuki:config config changed. reloading... +47ms
  yuki:configManager no config named config +9s
  yuki:ipc reloading config default +1ms
  yuki:config config changed. reloading... +0ms
  yuki:configManager no config named config +1ms
  yuki:ipc reloading config default +1ms
  yuki:filter [2] システム(&S)表示(&V)設定(&C)ヘルプ(&H)システム(&S)表示(&V)設定(&C)ヘルプ(&H) +1m
  yuki:filter [4] 灐灒灟灹9੮ॐ<孙ؔ)灱炄灰.灐灒灟灹9੮ॐ<孙ؔ)灱炄灰. +0ms
  yuki:filter [3]  +1ms

yuki版本:YUKI minori v0.14.1 系统:win10 : 10.00.10240.16384 mecab版本:wiki(https://github.com/project-yuki/YUKI/blob/master/docs/ConfigFiles_CN.md)里的这个https://github.com/project-yuki/libraries/raw/master/_pack/pos.mecab-ipadic.zip

分词功能无法使用(没有分词和罗马音) 不能使用分词

tinyAdapter commented 4 years ago

看起来似乎是路径乱码?试试将游戏路径、YUKI所在的路径和MeCab所在的路径换成仅包含英文的