Skip to content
Snippets Groups Projects
Commit b081bdd7 authored by Shyam Upadhyay's avatar Shyam Upadhyay
Browse files

srl type

parent 8aeef45a
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment