Interface EntityExtractorFactory<T extends Spans>

    • Method Detail

      • getExtractorIRI

        IRI getExtractorIRI()
      • name

        java.lang.String name()
      • create

        EntityExtractor<T> create​(Connection conn,
                                  com.complexible.stardog.plan.PlanNode body)
                           throws java.io.IOException
        Instantiate the entity extractor with this factory.
        Parameters:
        conn - connection to the database that the query is using
        body - the query pattern inside the SPARQL service. It may contain configuration parameters for the extractor.
        Returns:
        the instantiated extractor
        Throws:
        java.io.IOException - if instantiation fails, e.g. when an NLP model cannot be loaded.