public class WikidataEntityProcessor extends Object implements org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
Modifier and Type | Class and Description |
---|---|
class |
WikidataEntityProcessor.TimeoutException |
Constructor and Description |
---|
WikidataEntityProcessor(de.deepamehta.core.service.CoreService dm4,
de.deepamehta.core.service.ModelFactory mf,
de.deepamehta.workspaces.WorkspacesService workspaceService,
int timeout,
boolean persons,
boolean institutions,
boolean cities,
boolean countries,
boolean descriptions,
boolean urls,
boolean coordinates,
String iso_lang) |
Modifier and Type | Method and Description |
---|---|
void |
processItemDocument(org.wikidata.wdtk.datamodel.interfaces.ItemDocument itemDocument) |
void |
processPropertyDocument(org.wikidata.wdtk.datamodel.interfaces.PropertyDocument propertyDocument) |
void |
stop()
Stops the processing and prints the final time.
|
public WikidataEntityProcessor(de.deepamehta.core.service.CoreService dm4, de.deepamehta.core.service.ModelFactory mf, de.deepamehta.workspaces.WorkspacesService workspaceService, int timeout, boolean persons, boolean institutions, boolean cities, boolean countries, boolean descriptions, boolean urls, boolean coordinates, String iso_lang)
public void processItemDocument(org.wikidata.wdtk.datamodel.interfaces.ItemDocument itemDocument)
processItemDocument
in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
public void processPropertyDocument(org.wikidata.wdtk.datamodel.interfaces.PropertyDocument propertyDocument)
processPropertyDocument
in interface org.wikidata.wdtk.datamodel.interfaces.EntityDocumentProcessor
public void stop()
Copyright © 2018. All rights reserved.