字典的数据来源的问题以及 <<Matrix>>

写一个字典软件首先面临的问题就是原始数据来源的问题。说实话,我在十年前有心思写一个字典的时候就考虑过这个问题。没有原始的英中辞典数据,字典软件不过是空中阁楼罢了。

原始的字典数据,包括英英和英中,很难找到一些开源的。即便是著名的stardict也有很多问题。从这个邮件讨论合集里面就可以看到,debian的人对其数据来源提出了明确的质疑,但是我最后也没有看到作者给出一个明确的回答。

讨论在这里: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539632

摘要:

 > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342816#15
 > 
 > A dictionary with reasonable quality is very difficult to build by
 > hackers for a short time. If such a big database appears suddenly by one
 > or a few hackers without a clear explanation, it is almost surely
 > converted from other dictionaries.
It is really hard to find the source of a dictionary which is made about
10 years ago. If there are license problems on these dictionaries, the
stardic and xdict also should be removed from Debian repos. We really
could not GUESS where the dictionaries come from. I will try to contact
to authors of these dictionaries. But don't be so hopeful.

换句话说,字典的数据来源很可能是不正规的。

如何解决这个问题?说实话,我没有办法,或者说,我没有好办法。这个问题我想了十年,而十年下来我如果没有找到捷径的话,也许这个世界上就真的不存在有捷径。所以我决定用最笨的办法:自己写一个,然后开源。

我不是翻译的专家,也没有受过任何翻译的训练,而在目前版权法如此严谨的情况下,自己写一个号称不受别的字典影响的字典--避免被别人告--好像也不是很容易。说实话,这写顾虑其实也是我一直都没有开始写的原因。我一直都在想,写这么一本字典好像已经偏离了我写软件的初衷,估且不论我是否能够独立完成,即便写出来了,又有多大的价值呢?人家的牛津字典已经卖了上千万册了,金山词霸也上网免费了,我在21世纪做20世纪的工作,是不是太晚了一点。。。有千万的理由阻止我自己从零开始写一本英中字典,所以我被阻止了十年。

我最后决定还是自己采用笨办法的理由只有一个:我总是想,如果十年以前我就开始写了,我现在也许已经有一个雏形了。时间就在我的踌躇之中浪费了。如果一定要让自己的理由变得有哲理一点,我可以这么说:讨论做一件事情有没有意义其实是错误的。因为事情有没有意义是一个唯心的命题。在唯心的世界里,存在的就是有意义的,正如音乐发烧友可以吃着方便面欣赏一万块的音响一样,只要我想做,这件事情就是有意义的,因为它对于我是有意义的。生命,到最后也不过是一串选择的合集。正如<<Matrix>>里面Neo和Agent Smith最后的对话:

http://www.imdb.com/title/tt0242653/quotes

Agent Smith: Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can't win. It's pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?
Neo: Because I choose to.

 

Because I choose to

转载于:https://www.cnblogs.com/behonest/archive/2012/05/08/2490000.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
使用python bs4库从下面这段内容“<div class="maingrid" data-v-0f3d927f=""> <!-- --> <!-- --> <!-- --> <div class="period" data-v-0f3d927f=""> Saturday, Jun 3, 2023 </div> <div class="summary summarykpis4" data-v-0f3d927f=""> <div class="icon" data-v-0f3d927f=""> <div class="partly-cloudy-day" data-v-0f3d927f=""> </div> </div> <div class="kpi summary" data-v-0f3d927f=""> <div class="subtitle"> Max </div> <div> 28℃ </div> <div class="normals"> <div> 22 </div> <div> 27 </div> <div> 36 </div> <div class="subtitle"> Min </div> <div class="subtitle"> Mean </div> <div class="subtitle"> Max </div> </div> </div> <div class="kpi summary" data-v-0f3d927f=""> <div class="subtitle"> Min </div> <div> 13℃ </div> <div class="normals"> <div> 9.9 </div> <div> 15 </div> <div> 19 </div> <div class="subtitle"> Min </div> <div class="subtitle"> Mean </div> <div class="subtitle"> Max </div> </div> </div> <div class="kpi summary" data-v-0f3d927f=""> <div class="subtitle"> Rain </div> <div> 0mm </div> <div class="normals"> <div> 0 </div> <div> 4.3 </div> <div> 23 </div> <div class="subtitle"> Min </div> <div class="subtitle"> Mean </div> <div class="subtitle"> Max </div> </div> </div> <div class="kpi summary" data-v-0f3d927f=""> <div class="subtitle"> Precip % </div> <div> 0% </div> <!-- --> </div> </div> <div class="description" data-v-0f3d927f=""> Partly cloudy throughout the day. </div> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> </div>”提取出6月3至6月5日天气信息
06-04

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值