Ah, sorry, I missed that. That's weird, try calling "mvn clean install" in
the main folder first.


On Wed, Mar 13, 2013 at 10:36 PM, Dimitris Kontokostas <[email protected]>wrote:

> I updated my repo but this is what I thought too.
> So I deleted the ~/m2 folder and re-cloned the repo but then I got the
> second maven error.
>
> ----
> Send from my mobile
> Στις 13 Μαρ 2013 11:27 μ.μ., ο χρήστης "Joachim Daiber" <
> [email protected]> έγραψε:
>
> Did you create the JAR from the latest trunk? This looks like an older
>> version.
>>
>> Best,
>> Jo
>>
>>
>> On Wed, Mar 13, 2013 at 9:52 PM, Dimitris Kontokostas 
>> <[email protected]>wrote:
>>
>>> I tried to deploy this to nl.dbpedia.org but I get the following error
>>> $ java -jar
>>> /opt/dbpedia-spotlight/code/dist/target/dbpedia-spotlight-0.6-jar-with-dependencies.jar
>>> /opt/dbpedia-spotlight/model http://localhost:2222/
>>> org.dbpedia.spotlight.exceptions.ConfigurationException: Cannot find
>>> configuration file /opt/dbpedia-spotlight/model
>>>         at
>>> org.dbpedia.spotlight.model.SpotlightConfiguration.<init>(SpotlightConfiguration.java:200)
>>>         at org.dbpedia.spotlight.web.rest.Server.main(Server.java:75)
>>> Caused by: java.io.FileNotFoundException: /opt/dbpedia-spotlight/model
>>> (Is a directory)
>>>         at java.io.FileInputStream.open(Native Method)
>>>         at java.io.FileInputStream.<init>(FileInputStream.java:138)
>>>         at
>>> org.dbpedia.spotlight.model.SpotlightConfiguration.<init>(SpotlightConfiguration.java:198)
>>>         ... 1 more
>>>
>>> usage: java -jar dbpedia-spotlight.jar
>>> org.dbpedia.spotlight.web.rest.Server [config file]   or: mvn scala:run
>>> "-DaddArgs=[config file]"
>>>
>>> I thought that this should be an old build cache error so I deleted the
>>> /org/spotlight folder from maven but now I get this
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building DBpedia Spotlight Distribution Packaging 0.6
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [WARNING] The POM for org.dbpedia.spotlight:core:jar:0.6 is missing, no
>>> dependency information available
>>> [WARNING] The POM for org.dbpedia.spotlight:rest:jar:0.6 is missing, no
>>> dependency information available
>>> [WARNING] The POM for org.dbpedia.spotlight:index:jar:0.6 is missing, no
>>> dependency information available
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 4.536s
>>> [INFO] Finished at: Wed Mar 13 23:51:26 CET 2013
>>> [INFO] Final Memory: 15M/964M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal on project dist: Could not resolve
>>> dependencies for project org.dbpedia.spotlight:dist:pom:0.6: The following
>>> artifacts could not be resolved: org.dbpedia.spotlight:core:jar:0.6,
>>> org.dbpedia.spotlight:rest:jar:0.6, org.dbpedia.spotlight:index:jar:0.6:
>>> Failure to find org.dbpedia.spotlight:core:jar:0.6 in
>>> http://download.java.net/maven/2/ was cached in the local repository,
>>> resolution will not be reattempted until the update interval of
>>> maven2-repository.dev.java.net has elapsed or updates are forced ->
>>> [Help 1]
>>> [ERROR]
>>>
>>> Any help?
>>> Thanks :)
>>>
>>>
>>>
>>> On Wed, Mar 13, 2013 at 9:57 PM, Joachim Daiber <
>>> [email protected]> wrote:
>>>
>>>> They are linear weights for the spot score. Every spot with a score >=
>>>> 0.5 is annotated. See here:
>>>>
>>>>
>>>> https://github.com/dbpedia-spotlight/dbpedia-spotlight/blob/master/core/src/main/scala/org/dbpedia/spotlight/db/DBSpotter.scala#L184
>>>>
>>>> If you want more results, you have to increase the last value.
>>>>
>>>> Best,
>>>> Jo
>>>>
>>>>
>>>>
>>>> On Wed, Mar 13, 2013 at 8:50 PM, Tom De Caluwé <[email protected]>wrote:
>>>>
>>>>> What is the meaning of the four numbers in that file?
>>>>>
>>>>> 2013/3/13 Joachim Daiber <[email protected]>:
>>>>> > The goal of this version is to provide results with best precision
>>>>> _and_
>>>>> > recall, so that there are few false positives. You can also decrease
>>>>> the
>>>>> > annotation threshhold to get more results (you would have to do this
>>>>> via the
>>>>> > spotter_thresh...txt) at the moment. But we will add a nicer way of
>>>>> doing
>>>>> > that in the future.
>>>>> >
>>>>> > Jo
>>>>> >
>>>>> >
>>>>> > On Wed, Mar 13, 2013 at 8:39 PM, Tom De Caluwé <[email protected]>
>>>>> wrote:
>>>>> >>
>>>>> >> It's just that I'm getting much less results which is a bit strange
>>>>> >> considering it's a newer version. However I'm also getting much less
>>>>> >> false positives.
>>>>> >>
>>>>> >> 2013/3/13 Joachim Daiber <[email protected]>:
>>>>> >> > Yes, what you are using is the new version that is not yet
>>>>> deployed to
>>>>> >> > nl.dbpedia.org/spotlight
>>>>> >> >
>>>>> >> > Best,
>>>>> >> > Jo
>>>>> >> >
>>>>> >> >
>>>>> >> > On Wed, Mar 13, 2013 at 8:30 PM, Tom De Caluwé <
>>>>> [email protected]>
>>>>> >> > wrote:
>>>>> >> >>
>>>>> >> >> One more thing, the results I obtain locally are quite different
>>>>> than
>>>>> >> >> the results from nl.dbpedia.org. Is there a reason for this?
>>>>> >> >>
>>>>> >> >> 2013/3/13 Joachim Daiber <[email protected]>:
>>>>> >> >> > Hey Dimitris,
>>>>> >> >> >
>>>>> >> >> > I used this one: 20121003. Deploying that model on
>>>>> nl.dbepdia.org
>>>>> >> >> > would
>>>>> >> >> > be
>>>>> >> >> > great. Otherwise, we have to wait until the next indexing. The
>>>>> >> >> > DB-backed
>>>>> >> >> > indexing is pretty much fully automated now, so we just need
>>>>> to run
>>>>> >> >> > it
>>>>> >> >> > on a
>>>>> >> >> > cluster/AWS.
>>>>> >> >> >
>>>>> >> >> > Best,
>>>>> >> >> > Joachim
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> > On Wed, Mar 13, 2013 at 7:53 PM, Dimitris Kontokostas
>>>>> >> >> > <[email protected]>
>>>>> >> >> > wrote:
>>>>> >> >> >>
>>>>> >> >> >> Hi Joachim,
>>>>> >> >> >>
>>>>> >> >> >> What dump did you use for the pre-built model?
>>>>> >> >> >> I created a new dump last month[1]  but didn't have time to
>>>>> update
>>>>> >> >> >> the
>>>>> >> >> >> spotlight
>>>>> >> >> >> So I was thinking I could use this one :)
>>>>> >> >> >>
>>>>> >> >> >> The new dump however is way better than the previous since a
>>>>> lot of
>>>>> >> >> >> mappings have been added and instance times got from 550KB to
>>>>> 17MB
>>>>> >> >> >>
>>>>> >> >> >> Cheers,
>>>>> >> >> >> Dimitris
>>>>> >> >> >>
>>>>> >> >> >> [1] http://nl.dbpedia.org/downloads/nlwiki/20130205/
>>>>> >> >> >>
>>>>> >> >> >>
>>>>> >> >> >> On Wed, Mar 13, 2013 at 7:45 PM, Tom De Caluwé
>>>>> >> >> >> <[email protected]>
>>>>> >> >> >> wrote:
>>>>> >> >> >>>
>>>>> >> >> >>> With this script I can get it up and running all at once:
>>>>> >> >> >>>
>>>>> >> >> >>> apt-get install maven
>>>>> >> >> >>>
>>>>> >> >> >>> PREFIX=/opt
>>>>> >> >> >>> MODEL_PATH=/opt/dbpedia-spotlight/var/spotlight/data
>>>>> >> >> >>>
>>>>> >> >> >>> cd $PREFIX
>>>>> >> >> >>>
>>>>> >> >> >>> git clone
>>>>> >> >> >>> https://github.com/dbpedia-spotlight/dbpedia-spotlight.git
>>>>> >> >> >>> cd dbpedia-spotlight
>>>>> >> >> >>> mkdir -p $MODEL_PATH
>>>>> >> >> >>> curl http://spotlight.sztaki.hu:2226/nl.tar.gz | tar
>>>>> >> >> >>> --strip-components=1 -C $MODEL_PATH -xzf -
>>>>> >> >> >>> echo "1.0 0.2 -0.2 0.1" > $MODEL_PATH/spotter_thresholds.txt
>>>>> >> >> >>> cd dist
>>>>> >> >> >>> mvn package
>>>>> >> >> >>> apt-get update
>>>>> >> >> >>> dpkg -i dbpedia-spotlight-*.deb || apt-get -fy install
>>>>> >> >> >>>
>>>>> >> >> >>> java -jar
>>>>> >> >> >>>
>>>>> /usr/share/java/dbpedia-spotlight-0.6-jar-with-dependencies.jar
>>>>> >> >> >>> $MODEL_PATH http://localhost:2222/ &
>>>>> >> >> >>>
>>>>> >> >> >>> And you don't need to add the additional
>>>>> >> >> >>> &spotter=Default&disambiguator=Default.
>>>>> >> >> >>>
>>>>> >> >> >>> 2013/3/13 Tom De Caluwé <[email protected]>:
>>>>> >> >> >>> > This works! Thanks!
>>>>> >> >> >>>
>>>>> >> >> >>>
>>>>> >> >> >>>
>>>>> >> >> >>>
>>>>> >> >> >>>
>>>>> ------------------------------------------------------------------------------
>>>>> >> >> >>> Everyone hates slow websites. So do we.
>>>>> >> >> >>> Make your web apps faster with AppDynamics
>>>>> >> >> >>> Download AppDynamics Lite for free today:
>>>>> >> >> >>> http://p.sf.net/sfu/appdyn_d2d_mar
>>>>> >> >> >>> _______________________________________________
>>>>> >> >> >>> Dbp-spotlight-users mailing list
>>>>> >> >> >>> [email protected]
>>>>> >> >> >>>
>>>>> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>>>>> >> >> >>
>>>>> >> >> >>
>>>>> >> >> >>
>>>>> >> >> >>
>>>>> >> >> >> --
>>>>> >> >> >> Kontokostas Dimitris
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >
>>>>> >> >
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Kontokostas Dimitris
>>>
>>
>>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to