dlwh / epic

**Archived** Epic is a high performance statistical parser written in Scala, along with a framework for building complex structured prediction models.

Home Page:http://scalanlp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build

vhmolinar opened this issue · comments

Hello, I had just cloned the master branch and tried to build epic just as README instructions: sbt assembly

Then I've got the following error:
module not found: org.scalanlp#sbt-jflex_2.10_0.13;0.1-SNAPSHOT
...
org.scalanlp:sbt-jflex_2.10_0.13:0.1-SNAPSHOT (sbtVersion=0.13, scalaVersion=2.10)

Since I'm also not being able to use any of the epic versions published to https://oss.sonatype.org/content/repositories/snapshots/org/scalanlp/ (because they miss breezer 0.8-SNAPSHOT, and sbt just cant find that), I'm willing to build it from sources, but as you can see it is not being possible.

try now? Sorry, I'm trying to finish getting it ready for release. Please let me know what you find!

That works now. Thank you!

BTW, I'm missing pre-trained models.
The following link seems to be broken: https://www.scalanlp.org/epic-models .
Are they still available ?

They are newly available as of like two hours ago. :-)

Let me know if you have any problems. http://www.scalanlp.org/models/

Oh ok. That is right!

But now still fighting against build issue. This time not with epic. After adding any english model I get following error regarding sbt-pgp dependency:

...
com.typesafe.sbt#sbt-pgp;0.8.3: not found
...
com.typesafe.sbt:sbt-pgp:0.8.3 (sbtVersion=0.13, scalaVersion=2.10)


Current build.sbt snippet of my project(ps: i'm using local dependency of epic after its build):

scalaVersion := "2.10.3"

resolvers ++= Seq(
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
)

libraryDependencies ++= Seq(
"org.scalanlp" % "epic_2.10" % "0.1-SNAPSHOT",
"org.scalanlp" %% "epic-pos-en" % "0.1",
"org.scalanlp" %% "epic-parser-en-span" % "0.1",
"org.scalanlp" %% "epic-ner-en-conll" % "0.1"
)

could you try using "org.scalanlp" % "epic_2.10" % "0.1" ?

and is your copy of epic fully up to date? there was a change right before I released that might have fixed it. (Use 0.2-SNAPSHOT if you still build locally)

if that doesn't work, try adding...

"org.scalanlp" %% "chalk" % "1.3.2" intransitive(),
"org.scalanlp" %% "nak" % "1.2.1" intransitive(),

The build works.
I "re-cloned" the project and published locally again, now that works with 0.2-SNAPSHOT version.
Thanks.

great! I need to publish some new models too.

On Tue, Jun 3, 2014 at 1:36 AM, vhmolinar notifications@github.com wrote:

The build works.
I "re-cloned" the project and published locally again, now that works with
0.2-SNAPSHOT version.
Thanks.


Reply to this email directly or view it on GitHub
#2 (comment).

Ok, new models published with version 2014.6.2-SNAPSHOT

On Tue, Jun 3, 2014 at 1:52 AM, David Hall dlwh@cs.berkeley.edu wrote:

great! I need to publish some new models too.

On Tue, Jun 3, 2014 at 1:36 AM, vhmolinar notifications@github.com
wrote:

The build works.
I "re-cloned" the project and published locally again, now that works
with 0.2-SNAPSHOT version.
Thanks.


Reply to this email directly or view it on GitHub
#2 (comment).