Class BasicMentionExtractorFactory

    • Constructor Detail

      • BasicMentionExtractorFactory

        public BasicMentionExtractorFactory()
    • Method Detail

      • create

        public EntityExtractor<Spans> create​(Connection conn,
                                             com.complexible.stardog.plan.PlanNode theBody)
        Description copied from interface: EntityExtractorFactory
        Instantiate the entity extractor with this factory.
        Specified by:
        create in interface EntityExtractorFactory<Spans>
        conn - connection to the database that the query is using
        theBody - the query pattern inside the SPARQL service. It may contain configuration parameters for the extractor.
        the instantiated extractor
        Throws: - if instantiation fails, e.g. when an NLP model cannot be loaded.