【问题标题】:problems with using wordnet in asp.net在 asp.net 中使用 wordnet 的问题
【发布时间】:2011-10-16 13:48:58
【问题描述】:

我一直在尝试使用 wordnet 来生成单词的同义词。我发现要使用 wordnet 功能我必须

  1. 下载 WordNet prolog 数据库、gunzip、untar 等。

  2. 酌情调用 Syn2Index 以构建同义词索引。它需要 2 个参数,从 WordNet 下载到 wn_s.pl 的路径,以及索引名称。

  3. 更新您的 UI,以便您酌情调用 SynExpand.expand(...) 以使用同义词扩展用户查询。

我已经下载了 WordNetProlog 数据库。我不明白这里的第二点和第三点...... 任何人都可以帮助... 提前谢谢你..

【问题讨论】:

    标签: c# asp.net wordnet


    【解决方案1】:

    您是否尝试分析作为 wordnet 实现的 Framenet,如 this page 中的链接。

    也许你可以得到一个想法。我想您在第 2 步中提到的过程是指 Perl 中的源代码。

    【讨论】:

      【解决方案2】:

      另一种选择是下载查询本地数据库的独立程序,例如我使用cygwin wn。然后你可以按如下方式使用它:

      $ wn wordnet -over
      
      Overview of noun wordnet
      
      The noun wordnet has 2 senses (no senses from tagged texts)
      
      1. wordnet -- (any of the machine-readable lexical databases modeled after the Princeton WordNet)
      2. WordNet, Princeton WordNet -- (a machine-readable lexical database organized by meanings; developed at Princeton University)
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2014-10-03
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-05-01
        • 2022-01-22
        • 2010-10-06
        • 1970-01-01
        相关资源
        最近更新 更多