public class EntityLinker extends Object implements EntityExtractor
| Constructor and Description |
|---|
EntityLinker(DocumentParser theParser,
MentionExtractor theMentionExtractor,
Function<Span,Span> theMentionProcessor,
CandidateGenerator theCandidateGenerator,
FeatureGenerator theFeatureGenerator,
RankingFunction theRankingFunction,
CandidateSelector theCandidateSelector) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<Span,org.openrdf.model.Resource> |
extract(Reader theText)
Do entity extraction
|
static EntityLinker |
getDefault(Connection theConnection) |
public EntityLinker(DocumentParser theParser, MentionExtractor theMentionExtractor, Function<Span,Span> theMentionProcessor, CandidateGenerator theCandidateGenerator, FeatureGenerator theFeatureGenerator, RankingFunction theRankingFunction, CandidateSelector theCandidateSelector)
public static EntityLinker getDefault(Connection theConnection) throws IOException
IOExceptionpublic com.google.common.collect.Multimap<Span,org.openrdf.model.Resource> extract(Reader theText) throws Exception
EntityExtractorextract in interface EntityExtractortheText - the text to extract entitiesExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.