yanyiwu / gosimhash

中文文档simhash值计算
162 stars 30 forks source link

Killed: 9 #4

Closed liang68 closed 1 month ago

liang68 commented 7 years ago

请问一下,我电脑是 mac 最新款,go 环境是1.8.3,只要一运行命令就会出现:Killed: 9,是版本不兼容了吗?感觉不好使啊。我之前用 java 自己写的这个算法,正常应该有好几百万的数据需要比较,那么在参数传入的时候就需要传入:srcContent 和 destContent,但是我看你给的案例似乎没有两两对比啊

yanyiwu commented 7 years ago

参考这个issue https://github.com/yanyiwu/gojieba/issues/24

liang68 commented 7 years ago

好的,多谢!

liang68 commented 7 years ago

大拿,刚才那个问题已经解决了。我尝试了一下确实很好用,可惜我不怎么会 C++,看了下代码发现没有比较两个文档的 simhash 值的海明距离,我知道默认是3,也可以调整这个最小距离,不知道如何调用两个 simhash 值比较,或者有没有这么个函数供我们调用,我看你的实例代码中并没有体现出这个功能,如果有时间的话还是希望大拿补充一下示例代码,十分感谢!

github-actions[bot] commented 2 months ago

This issue has not been updated for over 5 years and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] commented 1 month ago

This issue has been automatically closed due to inactivity. If the issue still exists, please reopen it.