Automatic semantic role labeling (ASRL) in Java (using Frame net in Java)

人盡茶涼 提交于 2019-12-22 08:26:06

问题


I'm looking for a long time to create ASRL analysis in Java, and unfortunately the web offers very little support, it seems like all of the other SO questions relate to "which tools to use", but not to "how to use them".

I want to create (preferably in java) something exactly like this : http://demo.ark.cs.cmu.edu/parse ,an algorithm that has sentences as input, and frames as output.

I downloaded the related Jar files of mate tools https://code.google.com/p/mate-tools/downloads/list and SEMAFOR http://www.ark.cs.cmu.edu/SEMAFOR/, but from here I'm stuck, i couldn't find any way of creating java code that does that.

Does any of you guys have examples of Java code (SEMAFOR or Mate tools) that demonstrates how to convert a sentence (or any text input) into frame elements?

ill appreciate any help on that.


回答1:


I think this might help you.Just go to this link http://code.google.com/p/semafor-semantic-parser/ and browse through the sources.You'll get a lot of java codes on semantic parsing which is used in semafor.You'll also get framenet demo in this chunk of codes.



来源:https://stackoverflow.com/questions/22937922/automatic-semantic-role-labeling-asrl-in-java-using-frame-net-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!