Coder Social home page Coder Social logo

Comments (5)

pommedeterresautee avatar pommedeterresautee commented on September 24, 2024

Got the model from http://www.scalanlp.org/models/

from epic.

pommedeterresautee avatar pommedeterresautee commented on September 24, 2024

Also tried :

  • with Epic for Scala 2.10
  • unziping the model.ser.gz file and deserialize it with the dedicated function myself.

Always same error.

from epic.

reactormonk avatar reactormonk commented on September 24, 2024

Try a newer version via https://search.maven.org/#search%7Cga%7C1%7Corg.scalanlp%20epic-parser

from epic.

pommedeterresautee avatar pommedeterresautee commented on September 24, 2024

Thanks. I have not seen it. Just tried... it works :-)

However I see these errors when I ask for evicted in sbt:

[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn]  * org.scalanlp:epic_2.11:0.2 -> 0.3.1 (caller: j-data:j-data_2.11:1.1, org.scalanlp:epic-parser-fr-span_2.11:2014.11.09)
[warn]  * xml-apis:xml-apis:(1.3.03, 2.0.2) -> 1.4.01 (caller: xerces:xercesImpl:2.10.0, xerces:xercesImpl:2.8.0, com.io7m.xom:xom:1.2.10, xerces:xercesImpl:2.8.1, xalan:xalan:2.7.0)
[warn]  * org.scalanlp:breeze_2.11:(0.8, 0.9) -> 0.11-M0 (caller: org.scalanlp:epic_2.11:0.3.1, org.scalanlp:nak_2.11:1.3, org.scalanlp:breeze-natives_2.11:0.8)
[info] Here are other libraries that were evicted:
[info]  * xerces:xercesImpl:(2.8.1, 2.8.0) -> 2.10.0 (caller: com.drewnoakes:metadata-extractor:2.6.2, com.io7m.xom:xom:1.2.10, net.sourceforge.nekohtml:nekohtml:1.9.21)
[info]  * org.apache.tika:tika-core:1.0 -> 1.5 (caller: org.apache.tika:tika-parsers:1.5, org.gagravarr:vorbis-java-tika:0.1)
[info]  * org.slf4j:slf4j-api:(1.7.5, 1.7.6) -> 1.7.7 (caller: com.typesafe.scala-logging:scala-logging-slf4j_2.11:2.1.2, org.slf4j:slf4j-simple:1.7.6, org.scalanlp:breeze_2.11:0.11-M0)
[info]  * com.github.fommil.netlib:core:1.1 -> 1.1.2 (caller: com.github.fommil.netlib:native_ref-java:1.1, com.github.fommil.netlib:all:1.1.2, org.scalanlp:breeze_2.11:0.11-M0, com.github.fommil.netlib:native_system-java:1.1)
[info]  * org.scala-lang:scala-reflect:(2.11.1, 2.11.0) -> 2.11.4 (caller: org.rogach:scallop_2.11:0.9.5, com.typesafe.scala-logging:scala-logging-slf4j_2.11:2.1.2, org.spire-math:spire_2.11:0.7.4, org.spire-math:spire-macros_2.11:0.7.4, org.scalanlp:breeze-macros_2.11:0.11-M0, org.scalanlp:breeze-config_2.11:0.9.1)
[info]  * org.scala-lang.modules:scala-xml_2.11:1.0.1 -> 1.0.4 (caller: justice-data:justice-data_2.11:1.1, org.scalanlp:epic_2.11:0.3.1)
[info]  * org.scala-lang:scala-library:(2.11.2, 2.11.1, 2.11.0, 2.11.5, 2.11.4) -> 2.11.6 (caller: justice-data:justice-data_2.11:1.1, org.scalanlp:epic_2.11:0.3.1, com.typesafe.scala-logging:scala-logging-slf4j_2.11:2.1.2, com.typesafe.akka:akka-actor_2.11:2.3.11, org.spire-math:spire_2.11:0.7.4, org.scalanlp:nak_2.11:1.3, com.typesafe.scala-logging:scala-logging-api_2.11:2.1.2, org.scala-lang.modules:scala-xml_2.11:1.0.4, org.scalanlp:breeze-config_2.11:0.9.1, com.typesafe.akka:akka-stream-experimental_2.11:1.0-RC4, org.rogach:scallop_2.11:0.9.5, org.spire-math:spire-macros_2.11:0.7.4, org.scalanlp:breeze-natives_2.11:0.8, org.scalanlp:epic-parser-fr-span_2.11:2014.11.09, org.scalanlp:breeze_2.11:0.11-M0, org.scalanlp:breeze-macros_2.11:0.11-M0, org.scala-lang:scala-reflect:2.11.4 ())
[success] Total time: 5 s, completed 14 juil. 2015 07:58:49

Seems there are some dep issues...
Moreover POS tagger model for Scala 2.11 only exist for English.

I close the issue as the original one is fixed. Let me know if you want me to open a new one for POS tagger model (I don t need them for my project) and dep issue.

Kind regards,
Michael

from epic.

pommedeterresautee avatar pommedeterresautee commented on September 24, 2024

In case you wonder:

libraryDependencies ++= Seq(
  "org.scala-lang.modules" %% "scala-xml" % "1.0.4" withSources() withJavadoc(),
  "edu.stanford.nlp" % "stanford-corenlp" % "3.5.2" withSources() withJavadoc(),
  "com.typesafe.akka" %% "akka-stream-experimental" % "1.0-RC4" withSources() withJavadoc(),
  "org.scalanlp" %% "epic" % "0.3.1" withSources() withJavadoc(),
  "org.scalanlp" %% "epic-parser-fr-span" % "2014.11.09" withSources() withJavadoc()
)

from epic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.