为什么 Wordnet 在 Mac OS 上无法将 dict 文件转换为 bdb?

发布于 2024-11-01 01:08:16 字数 622 浏览 0 评论 0原文

我试图让 Ruby Wordnet 将数据文件转换为 t dbd,但 Convertdb.rb 在运行结束时出现分段错误。知道发生了什么事或如何调查和解决这个问题吗?

Checkpointing DB and cleaning logs...done.
done.

convertdb.rb: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]

-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:0014e8 d:0014e8 TOP   
---------------------------

-- C level backtrace information -------------------------------------------

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap

I am trying to get Ruby Wordnet to convert the data files t dbd but convertdb.rb gives a segmentation fault at the end of running. ANy idea whats going on or how to investigate and resolve this?

Checkpointing DB and cleaning logs...done.
done.

convertdb.rb: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]

-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:0014e8 d:0014e8 TOP   
---------------------------

-- C level backtrace information -------------------------------------------

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

晨光如昨 2024-11-08 01:08:16

我没有在Ruby 1.9.2下测试过Ruby-WordNet(我是作者),而且它所依赖的bdb库的作者在1.9.2出来之前就去世了,所以我不认为该库的版本源附带的内容也确实经过了测试。

您可能希望尝试 Akinori MUSHA 在 github 上维护的 bdb 库版本,如下所示我相信他已经通过 1.9.2 修复程序保持了最新状态。

也有可能我在 1.9.2 刚刚引起的转换脚本中做错了一些事情。如果您尝试 Github 版本的 bdb 但它不起作用,请告诉我,我将尝试找出转换脚本的问题。

I haven't tested Ruby-WordNet under Ruby 1.9.2 (I'm the author), and the author of the bdb library it depends on died before 1.9.2 came out, so I don't think the version of the library that comes with the source has really been tested under it either.

You may wish to try the version of the bdb library that's been maintained by Akinori MUSHA on github, as I believe he's kept it up to date with 1.9.2 fixes.

It's also possible that I'm doing something wrong in the conversion script that's just tickled by 1.9.2. If you try the Github version of bdb and it doesn't work, let me know and I'll try to track down the problem with the conversion script.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文