public class SolrEntityLinker
extends io.redlink.nlp.api.Processor
| Constructor and Description |
|---|
SolrEntityLinker(SolrLinkingDescriptor linkingDesc) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcessing(io.redlink.nlp.api.ProcessingData processingData) |
ContentSectionProvider |
getContentProvider()
Getter for the
ContentProvider used for linking parsed AnalyzedTexts |
Map<String,Object> |
getDefaultConfiguration() |
io.redlink.solr.client.solrj.tag.TagParams |
getParams()
Getter for the SolrTextTagger configuration
|
protected void |
init() |
void |
setContentProvider(ContentSectionProvider contentProvider)
Allows to set a custom
ContentProvider used to determine what
sections of the AnalyzedText to link with the SolrClient |
public SolrEntityLinker(SolrLinkingDescriptor linkingDesc)
public io.redlink.solr.client.solrj.tag.TagParams getParams()
public void setContentProvider(ContentSectionProvider contentProvider)
ContentProvider used to determine what
sections of the AnalyzedText to link with the SolrClientcontentProvider - the contentProvider or null to rest to
the ContentProvider#DEFAULTpublic ContentSectionProvider getContentProvider()
ContentProvider used for linking parsed AnalyzedTextspublic Map<String,Object> getDefaultConfiguration()
getDefaultConfiguration in class io.redlink.nlp.api.Processorprotected void init()
throws Exception
init in class io.redlink.nlp.api.ProcessorExceptionprotected void doProcessing(io.redlink.nlp.api.ProcessingData processingData)
doProcessing in class io.redlink.nlp.api.ProcessorCopyright © 2016–2017 Redlink GmbH. All rights reserved.