Class BasicMentionExtractor
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.impl.BasicMentionExtractor
-
- All Implemented Interfaces:
EntityExtractor<Spans>
public class BasicMentionExtractor extends java.lang.Object implements EntityExtractor<Spans>
Extract basic mentions of named entities
-
-
Constructor Summary
Constructors Constructor Description BasicMentionExtractor(DocumentParser theParser, MentionExtractor theMentionExtractor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Spans
extract(java.io.Reader theText)
Do entity extractionstatic BasicMentionExtractor
getDefault(Connection theConnection)
-
-
-
Constructor Detail
-
BasicMentionExtractor
public BasicMentionExtractor(DocumentParser theParser, MentionExtractor theMentionExtractor)
-
-
Method Detail
-
getDefault
public static BasicMentionExtractor getDefault(Connection theConnection) throws java.io.IOException
- Throws:
java.io.IOException
-
extract
public Spans extract(java.io.Reader theText) throws java.lang.Exception
Description copied from interface:EntityExtractor
Do entity extraction- Specified by:
extract
in interfaceEntityExtractor<Spans>
- Parameters:
theText
- the text to extract entities- Returns:
- The extracted entities
- Throws:
java.lang.Exception
-
-