public class LeoPearAnnotator extends Object implements LeoAnnotator
| Modifier and Type | Field and Description |
|---|---|
protected LeoPearDescriptor |
descriptor |
| Constructor and Description |
|---|
LeoPearAnnotator(LeoPearDescriptor descriptor) |
LeoPearAnnotator(URI pearDescFile) |
| Modifier and Type | Method and Description |
|---|---|
LeoDelegate |
getDescriptor()
Return the Descriptor for this AnalysisEngine or RemoteAnalysisEngine.
|
String |
getName() |
LeoPearAnnotator |
setDescriptor(LeoPearDescriptor descriptor) |
LeoPearAnnotator |
setName(String name) |
protected LeoPearDescriptor descriptor
public LeoPearAnnotator(@Nonnull URI pearDescFile) throws IOException, org.apache.uima.util.InvalidXMLException
IOExceptionorg.apache.uima.util.InvalidXMLExceptionpublic LeoPearAnnotator(@Nonnull LeoPearDescriptor descriptor)
public LeoDelegate getDescriptor() throws Exception
LeoAnnotatorgetDescriptor in interface LeoAnnotatorException - If there is an error generating the descriptor.public LeoPearAnnotator setDescriptor(@Nonnull LeoPearDescriptor descriptor)
public String getName()
public LeoPearAnnotator setName(String name) throws IOException
IOExceptionCopyright © 2018 Department of Veterans Affairs. All Rights Reserved.