Closed danyaljj closed 8 years ago
ok, sure. I am going to checkout. @danyaljj
For some reason the ParsePath
feature in Edison
does not return the correct value.
Do you have tests in Edison itself that shows this feature works correctly there?
I trace it inside Edison. It seems the problem is again related to the source and target of the relation. For some reason when the relation is passed to this feature, and it starts from the source argument i.e. predicate
and extracts the target argument
then it uses the parse tree to again get the source and it misses the source at this point. It finds the path between the argument and itself. So I guess this should be a bug in Edison.
Found the error for parse feature extractor. Will fix it.
What do you think about other test failures in SemanticRoleLabeling.ModelsTest
?
Seems this is also outside Saul, related to the annotator initialization(?!).
An exception or error caused a run to abort: edu.illinois.cs.cogcomp.annotation.Annotator.initialize(Ledu/illinois/cs/cogcomp/core/utilities/configuration/ResourceManager;)V java.lang.AbstractMethodError: edu.illinois.cs.cogcomp.annotation.Annotator.initialize(Ledu/illinois/cs/cogcomp/core/utilities/configuration/ResourceManager;)V
@danyaljj: do you think this issue is solved now?
Actually, I just added the excludes, for me the test still fails as mentioned in issue #365 .
Changes look good. But the test failed due to unable to load POS Baseline models. I believe since the class POSBaselineLearner
changed namespace, we might have to train and upload new models.
@bhargav fixed the error with POS models. Now it's failing for some weird error in ConstraintsTest
.
[info] Exception encountered when attempting to run a suite with class name: edu.illinois.cs.cogcomp.saulexamples.nlp.SemanticRoleLabeling.ConstraintsTest *** ABORTED ***
[info] java.lang.NoSuchMethodError: edu.illinois.cs.cogcomp.nlp.corpusreaders.TextAnnotationReader.<init>(Ljava/lang/String;)V
[info] at edu.illinois.cs.cogcomp.nlp.corpusreaders.PennTreebankReader.<init>(PennTreebankReader.java:79)
[info] at edu.illinois.cs.cogcomp.nlp.corpusreaders.PennTreebankReader.<init>(PennTreebankReader.java:69)
[info] at edu.illinois.cs.cogcomp.nlp.corpusreaders.AbstractSRLAnnotationReader.<init>(AbstractSRLAnnotationReader.java:86)
[info] at edu.illinois.cs.cogcomp.nlp.corpusreaders.PropbankReader.<init>(PropbankReader.java:108)
[info] at edu.illinois.cs.cogcomp.saulexamples.data.SRLDataReader.<init>(SRLDataReader.java:36)
[info] at edu.illinois.cs.cogcomp.saulexamples.nlp.SemanticRoleLabeling.PopulateSRLDataModel$.apply(PopulateSRLDataModel.scala:138)
[info] at edu.illinois.cs.cogcomp.saulexamples.nlp.SemanticRoleLabeling.SRLApps$.<init>(SRLApps.scala:69)
[info] at edu.illinois.cs.cogcomp.saulexamples.nlp.SemanticRoleLabeling.SRLApps$.<clinit>(SRLApps.scala)
[info] at edu.illinois.cs.cogcomp.saulexamples.nlp.SemanticRoleLabeling.SRLClassifiers$argumentTypeLearner$.<init>(SRLClassifiers.scala:33)
[info] at edu.illinois.cs.cogcomp.saulexamples.nlp.SemanticRoleLabeling.SRLClassifiers$argumentTypeLearner$.<clinit>(SRLClassifiers.scala)
[info] ...
Any ideas?
It seems the errors initiated from corpusreaders
, and should be with the package renaming, relocating I guess..
Closing to open another PR.
Incremented the illinois-cogcomp-nlp version to the latest and had to fix some of the tests. Some of the tests I couldn't fix (Some in SRL). @kordjamshidi Need your help. Could you have a look into the failed tests? You can checkout the code from my fork. Here are the tests that fail:
SemanticRoleLabeling.ModelsTest
: not sure why it's failing...