跟踪了一下,是NShortPath类 里面
while (curNode > 0) {
SegTag.println2Err("Test ----3");
// Get its parent and store them in nParentNode,nParentIndex
QueueNode qn = parent[curNode].pop(false);
if (qn == null)
qn = parent[curNode].top();
if (qn != null) {
curNode = qn.getParent();
curIndex = qn.getIndex();
}
if (curNode > 0)
queResult.push(new QueueNode(curNode, curIndex, 0));
}
这个循环 进入了 死循环 跳不出来了...
因为我是写 一个搜索工具 用到ictclas4j 没仔细研究过ictclas4j 的代码 希望各位大大 帮忙解决一下
ps:ictclas4j的 分词有点慢啊...