java - Using dbpedia spotlight with a local mediawiki (not instance of wikipedia) -
i'm trying use dbpedia spotlight spot special terms (which not included in dbpedia) using local mediawiki dump input instead of default index , spotter.dict. ideas appreciated
dbpedia spotlight requires 5(five) files build index follows:
format n triples:
- instance types: list of urls , types (dbpedia, freebase etc)
e.g:
<your_link> <www.w3.org/1999/02/22-rdf-syntax-ns#type> <dbpedia:type> .
- labels: list of urls , labels
e.g:
<your_link> <www.w3.org/2000/01/rdf-schema#label> "label"@en .
- redirects: list of urls , redirect pages
e.g:
<your_link> <dbpedia.org/ontology/wikipageredirects> <your_link> .
disambiguations list of urls , disambiguations pages
.
xml dump:
- wiki dump - (like wikipedia dump).
after preparing these files own data, "just" follow internationalization guide available in dbpedia spotlight wiki create index own data.
all best,
Comments
Post a Comment