You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2024. It is now read-only.
Running SBT as per the instructions results in the following errors:
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:22: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.PojoTest
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:22: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.PojoTest
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:31: object dkpro is not a member of package org.apache.uima
[error] val tt = new org.apache.uima.dkpro.spark.PojoTest("/tmp/")
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:31: object dkpro is not a member of package org.apache.uima
[error] val tt = new org.apache.uima.dkpro.spark.PojoTest("/tmp/")
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/MimicSectionExtractor.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/MimicSectionExtractor.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:38: object dkpro is not a member of package org.apache.uima
[error] @transient val tt = new org.apache.uima.dkpro.spark.SectionSegmenterPojo("ref_doc_section.csv");
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:38: object dkpro is not a member of package org.apache.uima
[error] @transient val tt = new org.apache.uima.dkpro.spark.SectionSegmenterPojo("ref_doc_section.csv");
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SentenceSegmenterPojo
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:40: object dkpro is not a member of package org.apache.uima
[error] @transient val tt = new org.apache.uima.dkpro.spark.SentenceSegmenterPojo();
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SentenceSegmenterPojo
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:40: object dkpro is not a member of package org.apache.uima
[error] @transient val tt = new org.apache.uima.dkpro.spark.SentenceSegmenterPojo();
[error] ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:63: ambiguous implicit values:
[error] both method newIntEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Int]
[error] and method newLongEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Long]
[error] match expected type org.apache.spark.sql.Encoder[U]
[error] .map(x => tt.analyzeText(x.text).asInstanceOf[String])
[error] ^
[error] 8 errors found
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:63: ambiguous implicit values:
[error] both method newIntEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Int]
[error] and method newLongEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Long]
[error] match expected type org.apache.spark.sql.Encoder[U]
[error] .map(x => tt.analyzeText(x.text).asInstanceOf[String])
[error] ^
[info] No documentation generated with unsuccessful compiler run
[error] 8 errors found
[error] (compile:doc) Scaladoc generation failed
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 76 s, completed 19-Jul-2021 11:23:29
The text was updated successfully, but these errors were encountered:
I renamed all the uima-php class package names and replaces TestPojo usage with a SectionSegmenter. Now it compiles. I hope it still works...
If it does I will add a pull request with a working fork.
Running SBT as per the instructions results in the following errors:
The text was updated successfully, but these errors were encountered: