Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jieba包好像有问题 #3

Open
bills-kay opened this issue Jun 5, 2021 · 2 comments
Open

jieba包好像有问题 #3

bills-kay opened this issue Jun 5, 2021 · 2 comments

Comments

@bills-kay
Copy link

麻烦大佬帮忙看下哈。或者直接帮忙打个包release出来。谢谢啦

github.com/yanyiwu/gojieba

In file included from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Unicode.hpp:9,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/DictTrie.hpp:15,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/QuerySegment.hpp:8,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Jieba.hpp:4,
from jieba.cpp:5:
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp: In instantiation of ‘void limonp::LocalVector::reserve(size_t) [with T = std::pair<long unsigned int, const cppjieba::DictUnit*>; size_t = long unsigned int]’:
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp:83:7: required from ‘void limonp::LocalVector::push_back(const T&) [with T = std::pair<long unsigned int, const cppjieba::DictUnit*>]’
vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Trie.hpp:99:81: required from here
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp:95:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<long unsigned int, const cppjieba::DictUnit*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(ptr_, old, sizeof(T) * capacity_);

@TempleLv
Copy link
Owner

TempleLv commented Jun 9, 2021

结巴编译的时候会有一些警告。
bin已经release了。

@jw-star
Copy link

jw-star commented Dec 3, 2021

感觉go写的jieba,不怎么好用,我现在用的是 github.com/go-ego/gse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants