You should provide the Hungarian DBpedia files as input, so they would
become hu/labels_hu.nt.bz2 and so on.

Which version of the code are you using?

Cheers,
Pablo

On Mon, Sep 24, 2012 at 6:24 PM, Mihály Héder <[email protected]>wrote:

> Hi all,
>
> I'm having issues while building the Hungarian indexes following this
> guide:
>
> https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Internationalization
>
> What I get is here:
>
> [INFO] Checking for multiple versions of scala
>  INFO 2012-09-24 17:58:39,912 main [IndexingConfiguration] - Loading
> configuration file ../conf/indexing.properties
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at
> org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:161)
>         at
> org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
> Caused by: java.nio.charset.MalformedInputException: Input length = 1
>         at
> java.nio.charset.CoderResult.throwException(CoderResult.java:277)
>         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:338)
>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
>         at java.io.InputStreamReader.read(InputStreamReader.java:184)
>         at java.io.BufferedReader.fill(BufferedReader.java:154)
>         at java.io.BufferedReader.readLine(BufferedReader.java:317)
>         at java.io.BufferedReader.readLine(BufferedReader.java:382)
>         at
> scala.io.BufferedSource$BufferedLineIterator.hasNext(BufferedSource.scala:67)
>         at scala.collection.Iterator$class.foreach(Iterator.scala:660)
>         at
> scala.io.BufferedSource$BufferedLineIterator.foreach(BufferedSource.scala:43)
>         at
> scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:143)
>         at
> scala.io.BufferedSource$BufferedLineIterator.foldLeft(BufferedSource.scala:43)
>         at
> scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:137)
>         at
> scala.io.BufferedSource$BufferedLineIterator.$div$colon(BufferedSource.scala:43)
>         at scala.collection.SetLike$class.$plus$plus(SetLike.scala:128)
>         at
> scala.collection.immutable.Set$EmptySet$.$plus$plus(Set.scala:52)
>         at
> scala.collection.TraversableOnce$class.toSet(TraversableOnce.scala:252)
>         at
> scala.io.BufferedSource$BufferedLineIterator.toSet(BufferedSource.scala:43)
>         at
> org.dbpedia.spotlight.util.ExtractCandidateMap$.main(ExtractCandidateMap.scala:422)
>         at
> org.dbpedia.spotlight.util.ExtractCandidateMap.main(ExtractCandidateMap.scala)
>         ... 6 more
>
> The properties file is attached. Could be some very trivial thing...
> Also I wonder if these lines should be modified?
> # DBpedia Datasets
> # ----------------
> org.dbpedia.spotlight.data.labels
> =/usr/local/spotlight/dbpedia_data/original/dbpedia/en/labels_en.nt.bz2
> org.dbpedia.spotlight.data.redirects =
> /usr/local/spotlight/dbpedia_data/original/dbpedia/en/redirects_en.nt.bz2
> org.dbpedia.spotlight.data.disambiguations =
> /usr/local/spotlight/dbpedia_data/original/dbpedia/en/disambiguations_en.nt.bz2
> org.dbpedia.spotlight.data.instanceTypes =
> //usr/local/spotlight/dbpedia_data/original/dbpedia/en/instance_types_en.nt.bz2
>
> It is not mentioned explicitly in the tutorial but seems logical to me.
>
> Thanks!
>
> Mihály Héder
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Dbp-spotlight-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>
>


-- 
---
Pablo N. Mendes
http://pablomendes.com
Events: http://wole2012.eurecom.fr
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to