-
Notifications
You must be signed in to change notification settings - Fork 26
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
提取出的三元组为空(即,Triple: ),请问该如何解决? #3
Comments
I was using It would be more helpful to pinpoint the line which throws the above exception. |
谢谢你的解答! |
接上(抱歉我不知道有篇幅限制),在反复打印下面信息12次之后,输出 Triple: ,程序结束。 |
你好,我按指导安装好ltp(3.4.0),下载了pyltp,并下载了相应版本的model,运行example.py,执行结果为空。且产生提示如下,
Python argument types in
SementicRoleLabeller.label(SementicRoleLabeller, VectorOfString, VectorOfString, VectorOfString, VectorOfParseResult)
did not match C++ signature:
label(SementicRoleLabeller {lvalue}, boost::python::list, boost::python::list, std::vector<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >)
label(SementicRoleLabeller {lvalue}, boost::python::list, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >, std::vector<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >)
label(SementicRoleLabeller {lvalue}, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >, boost::python::list, std::vector<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >)
label(SementicRoleLabeller {lvalue}, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >, std::vector<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >)
请问这是由于什么原因产生的?如何解决呢?
The text was updated successfully, but these errors were encountered: