kbss-cvut / annotace Goto Github PK
View Code? Open in Web Editor NEWAnnotace is a text annotation service for Czech and English. It is used for support annotations in TermIt
License: GNU General Public License v3.0
Annotace is a text annotation service for Czech and English. It is used for support annotations in TermIt
License: GNU General Public License v3.0
Creating tagger failed
When annotating a text with MorphoDiTa-based lemmatizer, the result does not contain spaces after the period of the previous sentence. For example (annotations removed for readability):
...je popis fyzického vystavěného prostředí hl. m. Prahy jako sídla v krajině. Kniha řeší stavby a prostor...
becomes:
je popis fyzického vystavěného prostředí hl. m. Prahy jako sídla v krajině.Kniha řeší stavby a prostor...
The Spark-based lemmatizer does not suffer from this issue.
When using Annotace with Spark (termit branch), the lemmatizer is not loaded due to a conflicting class version. This means the lemmatizer does not work and annotace does not find existing terms in a document. Keyword extraction work fine.
Exception stack:
2022-01-11 10:36:48 [main] WARN c.c.k.a.lemmatizer.SparkLemmatizer - Lemmatizer not loaded due to an error.
termit-ipr-dev-annotace-server | org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 10.0 failed 1 times, most recent failure: Lost task 0.0 in stage 10.0 (TID 21) (ee42768b95cf executor driver): java.io.InvalidClassException: scala.collection.mutable.WrappedArray$ofRef; local class incompatible: stream classdesc serialVersionUID = 1028182004549731694, local class serialVersionUID = 3456489343829468865
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:689)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2012)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1862)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2169)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2358)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2358)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)
termit-ipr-dev-annotace-server | at scala.collection.immutable.List$SerializationProxy.readObject(List.scala:527)
termit-ipr-dev-annotace-server | at jdk.internal.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
termit-ipr-dev-annotace-server | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1175)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2325)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2358)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readArray(ObjectInputStream.java:2102)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)
termit-ipr-dev-annotace-server | at org.apache.spark.util.Utils$.deserialize(Utils.scala:133)
termit-ipr-dev-annotace-server | at org.apache.spark.SparkContext.$anonfun$objectFile$2(SparkContext.scala:1395)
termit-ipr-dev-annotace-server | at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:486)
termit-ipr-dev-annotace-server | at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:492)
termit-ipr-dev-annotace-server | at scala.collection.Iterator$SliceIterator.hasNext(Iterator.scala:268)
termit-ipr-dev-annotace-server | at scala.collection.Iterator.foreach(Iterator.scala:943)
termit-ipr-dev-annotace-server | at scala.collection.Iterator.foreach$(Iterator.scala:943)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:62)
termit-ipr-dev-annotace-server | at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:53)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:105)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:49)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.to(TraversableOnce.scala:366)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.to$(TraversableOnce.scala:364)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.to(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toBuffer(TraversableOnce.scala:358)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toBuffer$(TraversableOnce.scala:358)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toArray(TraversableOnce.scala:345)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toArray$(TraversableOnce.scala:339)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.toArray(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.$anonfun$take$2(RDD.scala:1449)
termit-ipr-dev-annotace-server | at org.apache.spark.SparkContext.$anonfun$runJob$5(SparkContext.scala:2236)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.Task.run(Task.scala:131)
termit-ipr-dev-annotace-server | at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:497)
termit-ipr-dev-annotace-server | at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1439)
termit-ipr-dev-annotace-server | at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:500)
termit-ipr-dev-annotace-server | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
termit-ipr-dev-annotace-server | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
termit-ipr-dev-annotace-server | at java.base/java.lang.Thread.run(Thread.java:829)
termit-ipr-dev-annotace-server |
termit-ipr-dev-annotace-server | Driver stacktrace:
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.failJobAndIndependentStages(DAGScheduler.scala:2258)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2(DAGScheduler.scala:2207)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2$adapted(DAGScheduler.scala:2206)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:2206)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1(DAGScheduler.scala:1079)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1$adapted(DAGScheduler.scala:1079)
termit-ipr-dev-annotace-server | at scala.Option.foreach(Option.scala:407)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:1079)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:2445)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2387)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2376)
termit-ipr-dev-annotace-server | at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:49)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:868)
termit-ipr-dev-annotace-server | at org.apache.spark.SparkContext.runJob(SparkContext.scala:2196)
termit-ipr-dev-annotace-server | at org.apache.spark.SparkContext.runJob(SparkContext.scala:2217)
termit-ipr-dev-annotace-server | at org.apache.spark.SparkContext.runJob(SparkContext.scala:2236)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.$anonfun$take$1(RDD.scala:1449)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.withScope(RDD.scala:414)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.take(RDD.scala:1422)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.$anonfun$first$1(RDD.scala:1463)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.withScope(RDD.scala:414)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.first(RDD.scala:1463)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.serialization.StructFeature.deserializeObject(Feature.scala:120)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.serialization.Feature.deserialize(Feature.scala:47)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.FeaturesReader.$anonfun$load$1(ParamsAndFeaturesReadable.scala:15)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.FeaturesReader.load(ParamsAndFeaturesReadable.scala:14)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.FeaturesReader.load(ParamsAndFeaturesReadable.scala:8)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.Pipeline$SharedReadWrite$.$anonfun$load$5(Pipeline.scala:277)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.MLEvents.withLoadInstanceEvent(events.scala:160)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.MLEvents.withLoadInstanceEvent$(events.scala:155)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.util.Instrumentation.withLoadInstanceEvent(Instrumentation.scala:42)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.Pipeline$SharedReadWrite$.$anonfun$load$4(Pipeline.scala:277)
termit-ipr-dev-annotace-server | at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
termit-ipr-dev-annotace-server | at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
termit-ipr-dev-annotace-server | at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
termit-ipr-dev-annotace-server | at scala.collection.TraversableLike.map(TraversableLike.scala:286)
termit-ipr-dev-annotace-server | at scala.collection.TraversableLike.map$(TraversableLike.scala:279)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:198)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.Pipeline$SharedReadWrite$.$anonfun$load$3(Pipeline.scala:274)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.util.Instrumentation$.$anonfun$instrumented$1(Instrumentation.scala:191)
termit-ipr-dev-annotace-server | at scala.util.Try$.apply(Try.scala:213)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.util.Instrumentation$.instrumented(Instrumentation.scala:191)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.Pipeline$SharedReadWrite$.load(Pipeline.scala:268)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.PipelineModel$PipelineModelReader.$anonfun$load$7(Pipeline.scala:356)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.MLEvents.withLoadInstanceEvent(events.scala:160)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.MLEvents.withLoadInstanceEvent$(events.scala:155)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.util.Instrumentation.withLoadInstanceEvent(Instrumentation.scala:42)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.PipelineModel$PipelineModelReader.$anonfun$load$6(Pipeline.scala:355)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.util.Instrumentation$.$anonfun$instrumented$1(Instrumentation.scala:191)
termit-ipr-dev-annotace-server | at scala.util.Try$.apply(Try.scala:213)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.util.Instrumentation$.instrumented(Instrumentation.scala:191)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.PipelineModel$PipelineModelReader.load(Pipeline.scala:355)
termit-ipr-dev-annotace-server | at org.apache.spark.ml.PipelineModel$PipelineModelReader.load(Pipeline.scala:349)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.pretrained.ResourceDownloader$.downloadPipeline(ResourceDownloader.scala:397)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.pretrained.ResourceDownloader$.downloadPipeline(ResourceDownloader.scala:391)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.pretrained.PretrainedPipeline.<init>(PretrainedPipeline.scala:65)
termit-ipr-dev-annotace-server | at com.johnsnowlabs.nlp.pretrained.PretrainedPipeline.<init>(PretrainedPipeline.scala:60)
termit-ipr-dev-annotace-server | at cz.cvut.kbss.annotace.lemmatizer.SparkLemmatizer.lambda$new$0(SparkLemmatizer.java:48)
termit-ipr-dev-annotace-server | at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
termit-ipr-dev-annotace-server | at cz.cvut.kbss.annotace.lemmatizer.SparkLemmatizer.<init>(SparkLemmatizer.java:42)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
termit-ipr-dev-annotace-server | at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
termit-ipr-dev-annotace-server | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:208)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:311)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:296)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1354)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1380)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1413)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1380)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1354)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1380)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1354)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
termit-ipr-dev-annotace-server | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
termit-ipr-dev-annotace-server | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
termit-ipr-dev-annotace-server | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
termit-ipr-dev-annotace-server | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
termit-ipr-dev-annotace-server | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
termit-ipr-dev-annotace-server | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
termit-ipr-dev-annotace-server | at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
termit-ipr-dev-annotace-server | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343)
termit-ipr-dev-annotace-server | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1332)
termit-ipr-dev-annotace-server | at cz.cvut.kbss.textanalysis.App.main(App.java:30)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
termit-ipr-dev-annotace-server | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
termit-ipr-dev-annotace-server | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
termit-ipr-dev-annotace-server | at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
termit-ipr-dev-annotace-server | at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
termit-ipr-dev-annotace-server | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
termit-ipr-dev-annotace-server | Caused by: java.io.InvalidClassException: scala.collection.mutable.WrappedArray$ofRef; local class incompatible: stream classdesc serialVersionUID = 1028182004549731694, local class serialVersionUID = 3456489343829468865
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:689)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2012)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1862)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2169)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2358)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2358)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)
termit-ipr-dev-annotace-server | at scala.collection.immutable.List$SerializationProxy.readObject(List.scala:527)
termit-ipr-dev-annotace-server | at jdk.internal.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
termit-ipr-dev-annotace-server | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
termit-ipr-dev-annotace-server | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1175)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2325)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2358)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readArray(ObjectInputStream.java:2102)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
termit-ipr-dev-annotace-server | at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)
termit-ipr-dev-annotace-server | at org.apache.spark.util.Utils$.deserialize(Utils.scala:133)
termit-ipr-dev-annotace-server | at org.apache.spark.SparkContext.$anonfun$objectFile$2(SparkContext.scala:1395)
termit-ipr-dev-annotace-server | at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:486)
termit-ipr-dev-annotace-server | at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:492)
termit-ipr-dev-annotace-server | at scala.collection.Iterator$SliceIterator.hasNext(Iterator.scala:268)
termit-ipr-dev-annotace-server | at scala.collection.Iterator.foreach(Iterator.scala:943)
termit-ipr-dev-annotace-server | at scala.collection.Iterator.foreach$(Iterator.scala:943)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:62)
termit-ipr-dev-annotace-server | at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:53)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:105)
termit-ipr-dev-annotace-server | at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:49)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.to(TraversableOnce.scala:366)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.to$(TraversableOnce.scala:364)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.to(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toBuffer(TraversableOnce.scala:358)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toBuffer$(TraversableOnce.scala:358)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toArray(TraversableOnce.scala:345)
termit-ipr-dev-annotace-server | at scala.collection.TraversableOnce.toArray$(TraversableOnce.scala:339)
termit-ipr-dev-annotace-server | at scala.collection.AbstractIterator.toArray(Iterator.scala:1431)
termit-ipr-dev-annotace-server | at org.apache.spark.rdd.RDD.$anonfun$take$2(RDD.scala:1449)
termit-ipr-dev-annotace-server | at org.apache.spark.SparkContext.$anonfun$runJob$5(SparkContext.scala:2236)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
termit-ipr-dev-annotace-server | at org.apache.spark.scheduler.Task.run(Task.scala:131)
termit-ipr-dev-annotace-server | at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:497)
termit-ipr-dev-annotace-server | at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1439)
termit-ipr-dev-annotace-server | at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:500)
termit-ipr-dev-annotace-server | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
termit-ipr-dev-annotace-server | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
termit-ipr-dev-annotace-server | at java.base/java.lang.Thread.run(Thread.java:829)
Running the annotate method on an already annotated output produces a different result.
Please, provide Prerequisities
and a guide for downloading and running Annotace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.