public class ExternalAnnotatorServiceFactory extends Object
Constructor and Description |
---|
ExternalAnnotatorServiceFactory() |
Modifier and Type | Method and Description |
---|---|
static BasicAnnotatorService |
buildPipeline(Map<String,Annotator> annotators)
create an AnnotatorService with default configuration.
|
static BasicAnnotatorService |
buildPipeline(ResourceManager rm,
Map<String,Annotator> annotators)
create an AnnotatorService with components specified by the ResourceManager (to override
defaults in
ExternalToolsConfigurator |
public static BasicAnnotatorService buildPipeline(Map<String,Annotator> annotators) throws IOException, AnnotatorException
IOException
AnnotatorException
public static BasicAnnotatorService buildPipeline(ResourceManager rm, Map<String,Annotator> annotators) throws IOException, AnnotatorException
ExternalToolsConfigurator
rm
- non-default config optionsIOException
AnnotatorException
Copyright © 2017. All rights reserved.