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
IOException
org.apache.uima.util.InvalidXMLException
public LeoPearAnnotator(@Nonnull LeoPearDescriptor descriptor)
public LeoDelegate getDescriptor() throws Exception
LeoAnnotator
getDescriptor
in interface LeoAnnotator
Exception
- If there is an error generating the descriptor.public LeoPearAnnotator setDescriptor(@Nonnull LeoPearDescriptor descriptor)
public String getName()
public LeoPearAnnotator setName(String name) throws IOException
IOException
Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.