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)
        Instantiate the entity extractor with this factory.
        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.
        the instantiated extractor
        Throws: - if instantiation fails, e.g. when an NLP model cannot be loaded.