Commit b081bdd7 authored by Shyam Upadhyay's avatar Shyam Upadhyay
Browse files

srl type

parent 8aeef45a
......@@ -15,7 +15,7 @@ public class VoiceClauseHeuristic extends Heuristic {
String voice = TAUtils.voiceFeat(ee.pred_srl).getName();
String clause =TAUtils.getClauseNature(ee.pred_srl);
String lemma = TAUtils.getLemma(ee.pred_srl);
System.out.println(ee.pred_srl.getViewName());
String srl_type= ee.pred_srl.getViewName();
boolean isFirst=isFirstPredicateInList(ee,others);
if(voice.equals("A"))
{
......@@ -49,6 +49,10 @@ public class VoiceClauseHeuristic extends Heuristic {
{
ee.salient=0;
}
if(srl_type.equals("SRL_NOM"))
{
ee.salient=0;
}
}
private boolean isFirstPredicateInList(EventInstance ee, List<EventInstance> others) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment