I am trying to set up dbpedia-spotlight for the Dutch language. There are some 
datasets available for Dutch (nl),
but I expect to at least need the dbpedia "disambiguation" dataset, which is 
not available for download.

After setting up extraction_framework for "nl" and doing :
editing extraction.properties: reoving all extractors.** except:
extractors.nl<http://extractors.nl>=MappingExtractor,org.dbpedia.extraction.mappings.DisambiguationExtractor,HomepageExtractor,ImageExtractor,\
InterLanguageLinksExtractor)

$ cd dump;mvn scala:run
I get an error message:
..
INFO: Mappings loaded (nl)
java.lang.reflect.InvocationTargetException
..
Caused by: java.util.NoSuchElementException: key not found: nl
        at scala.collection.MapLike$class.default(MapLike.scala:225)
        at scala.collection.immutable.HashMap.default(HashMap.scala:38)
        at scala.collection.MapLike$class.apply(MapLike.scala:135)
        at scala.collection.immutable.HashMap.apply(HashMap.scala:38)
        at 
org.dbpedia.extraction.mappings.DisambiguationExtractor.<init>(DisambiguationExtractor.scala:22)

I assume this means that some classes have not been implemented for "nl"?

If so, I would like to know if such an effort is on the way or whether it would 
be feasible for me to give it a try?
Is there some pointer/documentation on how to get started?

Thanks,

Lourens


==================
DETAILS OF WHAT I DID


I managed to install the extraction_framework. The documentation seems a bit 
out of date though so it could be I
did things wrong.
I managed to download the "nl" wikipedia input by editing dump.properties and 
doing
$ cd dump; mvn scala:run -Dlauncher=download

Extraction started when commenting out all
other "extraction.**=" entries in dump/extraction.properties leaving only

extractors.nl<http://extractors.nl>=MappingExtractor

and running

$ mvn scala:run
The output indicates that extraction proceeds nicely.

But I expect that in the result the "disambiguation" result will be missing.

When I replace extractors.nl<http://extractors.nl> (analoguous to other 
languages):

extractors.nl<http://extractors.nl>=MappingExtractor,org.dbpedia.extraction.mappings.DisambiguationExtractor,HomepageExtractor,ImageExtractor,\
InterLanguageLinksExtractor

I get error messages mentioned above.

------------------------------------------------------------------------------
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/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to