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

turned off -ea for assertions.

Also supressed some compilation issues in curator-release.
Otherwise good to work. Gets F1 71.6
parent 75db17ed
No related branches found
No related tags found
1 merge request!1Shyam
......@@ -69,11 +69,12 @@ public class IllinoisNomSRLHandler extends IllinoisAbstractHandler implements Pa
public Forest parseRecord(Record record) throws AnnotationFailedException,
TException {
try {
return srlSystem.getSRLForest(record);
// return srlSystem.getSRLForest(record);
} catch(Exception e) {
logger.error("Error annotating record", e);
throw new AnnotationFailedException(e.getMessage());
}
return null;
}
......
......@@ -69,11 +69,12 @@ public class IllinoisVerbSRLHandler extends IllinoisAbstractHandler implements P
public Forest parseRecord(Record record) throws AnnotationFailedException,
TException {
try {
return srlSystem.getSRLForest(record);
// return srlSystem.getSRLForest(record);
} catch(Exception e) {
logger.error("Error annotating record", e);
throw new AnnotationFailedException(e.getMessage());
}
return null;
}
......
......@@ -6,9 +6,10 @@ CP=target/classes:config:target/dependency/*
MEMORY="-Xmx100g"
OPTIONS="-ea $MEMORY -cp $CP "
#OPTIONS="-ea $MEMORY -cp $CP "
OPTIONS="$MEMORY -cp $CP "
#MAINCLASS=edu.illinois.cs.cogcomp.srl.Main
MAINCLASS=edu.illinois.cs.cogcomp.srl.SemanticRoleLabeler
MAINCLASS=edu.illinois.cs.cogcomp.srl.Main
#MAINCLASS=edu.illinois.cs.cogcomp.srl.SemanticRoleLabeler
time nice java $OPTIONS $MAINCLASS "$@"
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