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
IOExceptionAnnotatorExceptionpublic static BasicAnnotatorService buildPipeline(ResourceManager rm, Map<String,Annotator> annotators) throws IOException, AnnotatorException
ExternalToolsConfiguratorrm - non-default config optionsIOExceptionAnnotatorExceptionCopyright © 2017. All rights reserved.