public class FreebaseKeyProcessor extends Object implements org.apache.stanbol.entityhub.indexing.core.EntityProcessor
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_DBPEDIA_STATE |
static String |
DEFAULT_LINK_PROPERTY |
static boolean |
DEFAULT_MUSICBRAINZ_STATE |
static String |
PARAM_DBPEDIA_STATE
Allows to enable/disable
owl:sameAs links to dbpedia |
static String |
PARAM_LINK_PROPERTY |
static String |
PARAM_MUSICBRAINZ_STATE
Allows to enable/disable
owl:sameAs links to musicbrainz |
| Constructor and Description |
|---|
FreebaseKeyProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static String |
decodeKey(String encodedKey)
Decodes Freebase.com keys using the '
$0000' encoding for chars. |
void |
initialise() |
boolean |
needsInitialisation() |
org.apache.stanbol.entityhub.servicesapi.model.Representation |
process(org.apache.stanbol.entityhub.servicesapi.model.Representation rep) |
void |
setConfiguration(Map<String,Object> config) |
public static final String PARAM_DBPEDIA_STATE
owl:sameAs links to dbpediapublic static final boolean DEFAULT_DBPEDIA_STATE
public static final String PARAM_MUSICBRAINZ_STATE
owl:sameAs links to musicbrainzpublic static final boolean DEFAULT_MUSICBRAINZ_STATE
public static final String PARAM_LINK_PROPERTY
public static final String DEFAULT_LINK_PROPERTY
public void setConfiguration(Map<String,Object> config)
setConfiguration in interface org.apache.stanbol.entityhub.indexing.core.IndexingComponentpublic boolean needsInitialisation()
needsInitialisation in interface org.apache.stanbol.entityhub.indexing.core.IndexingComponentpublic void initialise()
initialise in interface org.apache.stanbol.entityhub.indexing.core.IndexingComponentpublic void close()
close in interface org.apache.stanbol.entityhub.indexing.core.IndexingComponentpublic org.apache.stanbol.entityhub.servicesapi.model.Representation process(org.apache.stanbol.entityhub.servicesapi.model.Representation rep)
process in interface org.apache.stanbol.entityhub.indexing.core.EntityProcessorCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.