-
Notifications
You must be signed in to change notification settings - Fork 98
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
gAnwer运行正确,我用的是浏览器进行http请求,输出结果是{"question":"who is the wife of Donald Trump?","message":"InvalidQuestionException: the question you input is invalid, please check","status":"500"},日志如下: #52
Comments
您好!这里是因为dbpedialookup它更新成https访问了,gAnswer中原来的访问方法无法处理https,我们正在着手修改这部分的代码。如果您急需使用的话,您可以在本地自己建一个dbpedialookup,您可以发一封邮件到我的邮箱linyinnian@pku.edu.cn 我可以把相关文件发给您。 |
这是不是因为您那边服务器服务没开???,因为我这边没有建立本地的gStore库 |
这两天一直有个脚本在发送导致重启的查询,我们正在处理~ 建议的话还是本地建一个比较稳定~ |
好的,谢谢您在百忙之中帮我回答这些问题。 |
https://pan.baidu.com/s/1qeRIRBMqUbahhF-7QwNIpQ |
您好,能否提供一个相对较小的pkubase triples文件,我这边想构建本地gStore库,但是您之前提供的文件太大了,我现在只是想跑通您的这个gAnswer问答系统。 |
[Input:] who is the wife of Donald Trump?
EntityRecognizer Initial : ok!
--------- entity/type recognition start ---------
Type Check: wife
Type Check: Donald
Ent Check: Donald
java.lang.NullPointerException
at qa.mapping.DBpediaLookup.getEntityMappings(DBpediaLookup.java:53)
at qa.extract.EntityRecognition.getEntityIDsAndNamesByStr(EntityRecognition.java:734)
at qa.extract.EntityRecognition.process(EntityRecognition.java:330)
at qa.Query.getMergedQuestionList(Query.java:109)
at qa.Query.(Query.java:35)
at qa.GAnswer.getSparqlList(GAnswer.java:42)
at application.GanswerHandler.handle(GanswerHandler.java:66)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1032)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:258)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:445)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:267)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:224)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
at java.lang.Thread.run(Unknown Source)
麻烦告知一下,谢谢您
The text was updated successfully, but these errors were encountered: