Problem downloading dependency for stanford ner model

11 views
Skip to first unread message

Alain Désilets

unread,
Jan 23, 2020, 8:36:12 AM1/23/20
to dkpro-core-user
I have a project that needs to use a stanford NER model, but it seems unable to get it. For example, if I create a simple maven project with this pom:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">



 
<modelVersion>4.0.0</modelVersion>

 
<groupId>ca.nrc</groupId>

 
<artifactId>loadstanfordmodel</artifactId>

 
<version>0.0.1-SNAPSHOT</version>

 
<dependencies>


       
<dependency>

           
<groupId>de.tudarmstadt.ukp.dkpro.core</groupId>

           
<artifactId>de.tudarmstadt.ukp.dkpro.core.stanfordnlp-model-ner-en-muc.7class.distsim.crf</artifactId>

           
<version>20150129.1</version>

       
</dependency>

 
</dependencies>

</project>



and then run 'mvn clean install', I get this output:


$ mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< ca.nrc:loadstanfordmodel >----------------------
[INFO] Building loadstanfordmodel 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for de.tudarmstadt.ukp.dkpro.core:de.tudarmstadt.ukp.dkpro.core.stanfordnlp-model-ner-en-muc.7class.distsim.crf:jar:20150129.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.136 s
[INFO] Finished at: 2020-01-23T08:29:11-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project loadstanfordmodel: Could not resolve dependencies for project ca.nrc:loadstanfordmodel:jar:0.0.1-SNAPSHOT: Could not find artifact de.tudarmstadt.ukp.dkpro.core:de.tudarmstadt.ukp.dkpro.core.stanfordnlp-model-ner-en-muc.7class.distsim.crf:jar:20150129.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:






Alain Désilets

unread,
Jan 23, 2020, 8:37:12 AM1/23/20
to dkpro-core-user

Richard Eckart de Castilho

unread,
Jan 24, 2020, 3:48:39 PM1/24/20
to dkpro-core-user
Hi,
Models are not on Maven Central. They are in this repo:

http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-model-releases-local

Cheers,

-- Richard

Alain Désilets

unread,
Jan 29, 2020, 6:44:40 AM1/29/20
to dkpro-core-user


Models are not on Maven Central. They are in this repo:

  http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-model-releases-local

Thx Richard.

Alain
Reply all
Reply to author
Forward
0 new messages