Open reckart opened 8 years ago
Just FYI something is happening to your "." periods which are making them not come through on email.
On Wed, Jan 6, 2016 at 12:26 PM, Richard Eckart de Castilho < notifications@github.com> wrote:
TimeExpressionExtractorFactoryisDefaultExtractorPresent() check if the class for the default time expression extractor is present (ie edustanfordnlptimeTimeExpressionExtractorImpl which is in the CoreNLP jar and thus likely always present) It doesn't check though if the resources required by this extractor are present (in the "models" jar which may actually not be present)
When not having the models jar on the classpath and using alternative means of providing the NERClassifierCombiner with models then causes the auto-detection to fail with this exception:
Caused by: edustanfordnlputilReflectionLoading$ReflectionLoadingException: Error creating edustanfordnlptimeTimeExpressionExtractorImpl at edustanfordnlputilReflectionLoadingloadByReflection(ReflectionLoadingjava:40) at edustanfordnlptimeTimeExpressionExtractorFactorycreate(TimeExpressionExtractorFactoryjava:57) at edustanfordnlptimeTimeExpressionExtractorFactorycreateExtractor(TimeExpressionExtractorFactoryjava:38) at edustanfordnlpieregexpNumberSequenceClassifier
(NumberSequenceClassifierjava:81) at edustanfordnlpieregexpNumberSequenceClassifier (NumberSequenceClassifierjava:73) at edustanfordnlpieNERClassifierCombiner (NERClassifierCombinerjava:103) 32 more Caused by: edustanfordnlputilMetaClass$ClassCreationException: MetaClass couldn't create public edustanfordnlptimeTimeExpressionExtractorImpl(javalangString,javautilProperties) with args [sutime, {}] at edustanfordnlputilMetaClass$ClassFactorycreateInstance(MetaClassjava:235) at edustanfordnlputilMetaClasscreateInstance(MetaClassjava:380) at edustanfordnlputilReflectionLoadingloadByReflection(ReflectionLoadingjava:38) 46 more Caused by: javalangreflectInvocationTargetException at sunreflectNativeConstructorAccessorImplnewInstance0(Native Method) at sunreflectNativeConstructorAccessorImplnewInstance(NativeConstructorAccessorImpljava:62) at sunreflectDelegatingConstructorAccessorImplnewInstance(DelegatingConstructorAccessorImpljava:45) at javalangreflectConstructornewInstance(Constructorjava:422) at edustanfordnlputilMetaClass$ClassFactorycreateInstance(MetaClassjava:231) 48 more Caused by: javalangRuntimeException: Error initializing binder 1 at edustanfordnlptimeOptions (Optionsjava:92) at edustanfordnlptimeTimeExpressionExtractorImplinit(TimeExpressionExtractorImpljava:45) at edustanfordnlptimeTimeExpressionExtractorImpl (TimeExpressionExtractorImpljava:39) 53 more Caused by: javalangNullPointerException: Missing URL at dejollydayHolidayManagergetInstance(HolidayManagerjava:190) at edustanfordnlptimeJollyDayHolidaysinit(JollyDayHolidaysjava:51) at edustanfordnlptimeOptions (Optionsjava:90) 55 more — Reply to this email directly or view it on GitHub https://github.com/stanfordnlp/CoreNLP/issues/122.
Well, that's GitHub's problem then - above in the comment, they are present.
In case it's relevant, your most recent email looks like
Well, that's Githubs problem then
with the ' in "that's" but not in "Githubs"
On Wed, Jan 6, 2016 at 1:06 PM, Richard Eckart de Castilho < notifications@github.com> wrote:
Well, that's Githubs problem then - above in the comment, they are present.
— Reply to this email directly or view it on GitHub https://github.com/stanfordnlp/CoreNLP/issues/122#issuecomment-169461063 .
Well, that's Githubs problem then
That's because I did first posted it with the typo and then edited the comment to correct it.
TimeExpressionExtractorFactory.isDefaultExtractorPresent()
check if the class for the default time expression extractor is present (i.e.edu.stanford.nlp.time.TimeExpressionExtractorImpl
which is in the CoreNLP jar and thus likely always present). It doesn't check though if the resources required by this extractor are present (in the "models" jar which may actually not be present).When not having the models jar on the classpath and using alternative means of providing the NERClassifierCombiner with models then causes the auto-detection to fail with this exception: