【问题标题】:Is there a way to embed the Bing dictionary (not the bing translator) in my C# application?有没有办法在我的 C# 应用程序中嵌入 Bing 字典(不是 Bing 翻译器)?
【发布时间】:2011-09-19 06:14:55
【问题描述】:

我想从 bing 字典中获取数据,而不是从翻译器中获取数据,我该如何在我的 c# 应用程序中进行操作?

【问题讨论】:

    标签: c#-4.0 dictionary bing


    【解决方案1】:

    您在 Bing Translator UI 中看到的字典无法通过 API 获得。

    克里斯·温特 微软翻译

    【讨论】:

      【解决方案2】:

      here's a c# implementation,也可以查看http://dict.bing.com.cn/io.aspx(必应字典协议服务器)。

      【讨论】:

        【解决方案3】:

        其实你可以直接从urlhttp://www.microsofttranslator.com/dictionary.ashx?from=en&to=zh-CHS&text=sore解析输出

        来自 = 原始语言
        to = 翻译成你想要的语言
        text = 原文中的单词

        字符串源; //从url响应输出
        字符串翻译 = System.Uri.UnescapeDataString(source);

        语言代码见https://msdn.microsoft.com/en-us/library/hh456380.aspx

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2013-01-10
          • 1970-01-01
          相关资源
          最近更新 更多