File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
lbjava-examples/src/main/lbj Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ package edu.illinois.cs.cogcomp.lbjava.examples.entityRelation;
33import java.util.List;
44import edu.illinois.cs.cogcomp.lbjava.examples.entityRelation.datastruct.*;
55import edu.illinois.cs.cogcomp.lbjava.examples.entityRelation.Conll04_RelationReaderNew;
6- import edu.illinois.cs.cogcomp.lbjava.infer.GurobiHook;
76
8- import edu.illinois.cs.cogcomp.lbjava.infer.GurobiHook ;
7+ import edu.illinois.cs.cogcomp.lbjava.infer.OJalgoHook ;
98
109discrete% EntityFeatures(ConllRawToken t) <- {
1110 sense t.POS;
@@ -116,12 +115,12 @@ inference JointER head ConllRelation t {
116115 ConllRawToken e { return e.getRelation(); }
117116 // normalizedby new Softmax()
118117 subjectto { @PersonWorkFor(t) /\ @OrganizationWorkFor(t); }
119- with new ILPInference(new GurobiHook ())
118+ with new ILPInference(new OJalgoHook ())
120119}
121120
122121discrete RelArgsClassifier(ConllRelation r) <-
123122 JointER(work_forClassifier)
124123discrete Arg_pClassifier(ConllRawToken t) <-
125124 JointER(PersonClassifier)
126125discrete ArgOClassifier (ConllRawToken t) <-
127- JointER(OrganizationClassifier)
126+ JointER(OrganizationClassifier)
You can’t perform that action at this time.
0 commit comments