Class AbstractEntityRDFExtractor
- java.lang.Object
-
- com.complexible.stardog.docs.extraction.tika.TextProvidingRDFExtractor
-
- com.complexible.stardog.docs.nlp.impl.AbstractEntityRDFExtractor
-
- All Implemented Interfaces:
Extractor<StatementSource>
,RDFExtractor
- Direct Known Subclasses:
DictionaryLinkerRDFExtractor
,EntityLinkerRDFExtractor
,MentionRDFExtractor
public abstract class AbstractEntityRDFExtractor extends TextProvidingRDFExtractor
- Since:
- 5.2
- Author:
- Pedro Oliveira
-
-
Constructor Summary
Constructors Constructor Description AbstractEntityRDFExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Resource
addEntity(java.util.Set<Statement> theModel, IRI theDocIRI, Span theMention, boolean theAddCreator, boolean theAddNER, java.util.Collection<Resource> theLinkedResources)
Add information about a new entity to theSet
, returning the createdResource
protected StatementSource
extractFromText(Connection theConnection, IRI theDocIri, java.io.Reader theText)
Extract a set of RDF statements from the text in the document.-
Methods inherited from class com.complexible.stardog.docs.extraction.tika.TextProvidingRDFExtractor
extract
-
-
-
-
Method Detail
-
extractFromText
protected StatementSource extractFromText(Connection theConnection, IRI theDocIri, java.io.Reader theText) throws java.lang.Exception
Description copied from class:TextProvidingRDFExtractor
Extract a set of RDF statements from the text in the document.- Specified by:
extractFromText
in classTextProvidingRDFExtractor
- Throws:
java.lang.Exception
-
-