与 Gate ANNIE 一起学习语法
你好,我从事信息检索工作已经有一段时间了,但遇到了一些困难。 最近,我从以下链接下载了 StandAloneAnnie.java
http:// /gate.ac.uk/wiki/code-repository/src/sheffield/examples/StandAloneAnnie.java 尽管我已经能够执行它并查看输出,但我有一两个查询。
此程序注释人员和位置,其中存储用于注释此类实体的语法。
如何编写自己的简单语法来提取一些数据并在我的 StandAloneAnnie.java 副本中使用它?
Hello I have been trying to work on information retrieval for quite sometime and have been facing some difficulties.
Recently I downloaded StandAloneAnnie.java from following link
http://gate.ac.uk/wiki/code-repository/src/sheffield/examples/StandAloneAnnie.java
Though I have been able to execute it and see the output I have a query or two.
This program annotates people and locations, where is the grammar stored for annotating such entities.
How can I write my own simple grammar to extract some data and use it in my copy of StandAloneAnnie.java?
Previous posts
Hundreds of RegEx on one string New to NLP, Question about annotation
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是标记人身高的简单语法
这是执行的主要代码,
注意:-
在上面的代码中,Height 的语法将写入 .jape 文件中。您需要使用 JAPE(JAPE Plus) 转换器来运行此语法。我们只需要在主代码中执行应用程序('pipeline')。您可以在 gateway.ac.uk/sale/tao 找到编写 jape 的教程
Following is a simple grammar for tagging Height of a person
This is the main code that gets executed,
Note:-
In the above code, the grammar for Height will be written in a .jape file. You need to run this grammar using a JAPE(JAPE Plus) transducer. We just need to execute the application('pipeline') in our main code. You can find tutorial for writing jape at gate.ac.uk/sale/tao
有一个 Annie 简介 幻灯片,解释了语法是如何存储的。它们位于 Jape 文件中。
There is an Introduction to Annie powerpoint which explains how the grammar is stored. They are in Jape files.