依存分析

发布于 2024-08-24 06:34:47 字数 358 浏览 3 评论 0原文

我特别喜欢 agfl 在其 EP4IR 中提供的换能功能 http://www.agfl.cs.ru.nl/EP4IR/english。 html

下载页面在这里: http://www.agfl.cs.ru.nl/download.html

有什么方法可以在 ac# 程序中使用它吗?我需要将类转换为 C# 吗?

谢谢 :)

I particularly like the transduce feature offered by agfl in their EP4IR
http://www.agfl.cs.ru.nl/EP4IR/english.html

The download page is here:
http://www.agfl.cs.ru.nl/download.html

Is there any way i can make use of this in a c# program? Do I need to convert classes to c#?

Thanks
:)

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

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

发布评论

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

评论(1

离旧人 2024-08-31 06:34:47

如果您决定使用 EP4IR,我认为问题归结为:如何在 C# 中调用非 .NET C++ 代码。从之前的堆栈溢出线程来看,看起来有一些执行此操作的方法,包括使用 P/Invoke 或编写 C++ .NET 包装器围绕您要调用的非 .NET 代码。 C++.NET 经过专门设计,可以轻松调用遗留的非 .NET 代码。

如果您愿意尝试其他依赖关系表示,您可能需要查看 羚羊。它是一个相当完整的基于.NET 的自然语言处理工具包。它将允许您使用 链接解析器 (演示)和 斯坦福解析器 (演示)。这两者都会为您提供一个相当好的句子类型依存表示。

If you're set on using EP4IR, I think the question boils down to: how can you call non-.NET C++ code in C#. From a prior stack overflow thread, it looks like there are a few ways to do this, including using P/Invoke or writing a C++.NET wrapper around the non-.NET code you want to call. C++.NET was specifically designed to make it easy to call legacy non-.NET code.

If you are willing to try out other dependency representations, you might want to take a look at Antelope. It's a rather complete .NET based natural language processing toolkit. It'll allow you to use both the Link parser (demo) and the Stanford Parser (demo). Both of these will give you a reasonably good typed dependency representation for a sentence.

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