public class PipelineFactory extends Object
Constructor and Description |
---|
PipelineFactory() |
Modifier and Type | Method and Description |
---|---|
static BasicAnnotatorService |
buildPipeline()
create an AnnotatorService with default configuration.
|
static BasicAnnotatorService |
buildPipeline(Boolean disableCache,
String... views)
create an AnnotatorService with the given view names in the argument.
|
static BasicAnnotatorService |
buildPipeline(ResourceManager rm)
create an AnnotatorService with components specified by the ResourceManager (to override
defaults in
PipelineConfigurator |
static BasicAnnotatorService |
buildPipeline(String... views) |
static BasicAnnotatorService |
buildPipelineWithAllViews()
create an AnnotatorService with all the possible views in the pipeline.
|
static BasicAnnotatorService |
buildPipelineWithAllViews(Boolean disableCache)
create an AnnotatorService with all the possible views in the pipeline.
|
public static BasicAnnotatorService buildPipeline(Boolean disableCache, String... views) throws IOException, AnnotatorException
IOException
AnnotatorException
public static BasicAnnotatorService buildPipeline(String... views) throws IOException, AnnotatorException
IOException
AnnotatorException
public static BasicAnnotatorService buildPipeline() throws IOException, AnnotatorException
IOException
AnnotatorException
public static BasicAnnotatorService buildPipelineWithAllViews() throws IOException, AnnotatorException
IOException
AnnotatorException
public static BasicAnnotatorService buildPipelineWithAllViews(Boolean disableCache) throws IOException, AnnotatorException
IOException
AnnotatorException
public static BasicAnnotatorService buildPipeline(ResourceManager rm) throws IOException, AnnotatorException
PipelineConfigurator
rm
- non-default config optionsIOException
AnnotatorException
Copyright © 2017. All rights reserved.