fangfangli / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

cleartk-stanford-corenlp project does not compile with latest release #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I never got around to compiling the project cleartk-stanford-corenlp library 
until recently.  I am having troubles because I didn't get the 2010-11-12 
version before it was replaced by the 2011-05-16 version.  I can't seem to find 
the old version on their website and the cleartk wrapper doesn't compile with 
the new version.  I'm not sure what to do.

Can someone who knows the stanford folks nudge them to release to a maven 
repository?  Or if that be too unlikely - encourage them to leave older 
versions on their website?

Original issue reported on code.google.com by phi...@ogren.info on 26 May 2011 at 3:01

GoogleCodeExporter commented 9 years ago
At one point, I tried to write a pom.xml for the Stanford code, but it really 
wasn't practical, mainly because what's actually in the Stanford repository is 
a superset of what they release, and they use some complex scripting to strip 
the extra things away. I also looked for a way that they could just deploy 
their existing jars to some maven repository, but I couldn't figure out how to 
do that. The docs here kind of assume that you can build the project from 
source using maven:

https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Ma
ven+Central

Anyway, you can get an old release by fiddling with the download url. All the 
following seem to work:

http://nlp.stanford.edu/software/stanford-corenlp-v1.0.4.tgz
http://nlp.stanford.edu/software/stanford-corenlp-v1.0.3.tgz
http://nlp.stanford.edu/software/stanford-corenlp-v1.0.2.tgz
http://nlp.stanford.edu/software/stanford-corenlp-v1.0.1.tgz

But yes, we should update to the latest release when we can.

Original comment by steven.b...@gmail.com on 26 May 2011 at 10:39

GoogleCodeExporter commented 9 years ago
Issue 250 has been merged into this issue.

Original comment by phi...@ogren.info on 17 Jul 2011 at 3:05

GoogleCodeExporter commented 9 years ago
Just checked downloaded and checked version 1.0.4 of corenlp and didnt compile 
either, to compile that project it seems you need to stick to 1.0.2 of corenlp

Original comment by na...@derecho.com on 9 Sep 2011 at 11:15

GoogleCodeExporter commented 9 years ago
Yes, that's correct. Stanford CoreNLP often changes APIs in micro releases, so 
you really do have to stick to exactly the one version.

I started trying to write a pom.xml for Stanford CoreNLP again yesterday, but 
got stumped again because the version of fastutil they were depending on is not 
available in Maven Central. I asked the Stanford folks, and they promised to 
upgrade that dependency (or remove it entirely) in the next release.

Original comment by steven.b...@gmail.com on 10 Sep 2011 at 7:45

GoogleCodeExporter commented 9 years ago
I have now uploaded Stanford CoreNLP to Maven Central:

http://search.maven.org/#artifactdetails%7Cedu.stanford.nlp%7Cstanford-corenlp%7
C1.2.0%7Cjar

I have also updated the cleartk-stanford-corenlp project to work with the 
release in Maven Central. So if you work from the repository, everything should 
compile happily now.

Please reopen this issue if it doesn't.

Original comment by steven.b...@gmail.com on 4 Oct 2011 at 2:45