You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jul 07, 2016 5:00:15 PM com.hankcs.hanlp.seg.CRF.CRFSegment$CharTable <clinit>
SEVERE: 字符正规化表加载失败,原因如下:
java.io.FileNotFoundException: data/dictionary/other/CharTable.bin.yes (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at com.hankcs.hanlp.seg.CRF.CRFSegment$CharTable.<clinit>(CRFSegment.java:368)
at com.hankcs.hanlp.seg.CRF.CRFSegment.segSentence(CRFSegment.java:46)
at com.hankcs.hanlp.seg.Segment.seg(Segment.java:454)
at io.smackds.processors.NLP$$anonfun$receive$1.applyOrElse(NLP.scala:31)
at akka.actor.Actor$class.aroundReceive(Actor.scala:484)
at io.smackds.processors.NLP.aroundReceive(NLP.scala:19)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
at akka.actor.ActorCell.invoke(ActorCell.scala:495)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
at akka.dispatch.Mailbox.run(Mailbox.scala:224)
at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Exception如下:
但如果直接使用github的jar,則沒有錯誤。
我的hanlp.properties裡指定了root=/Users/stephen/devel/hanlp-1.2.10,並另外下載了完整的詞典檔。
The text was updated successfully, but these errors were encountered: